WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] stubdom: trivial warning fixup

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] stubdom: trivial warning fixup
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 08 Apr 2008 02:01:46 -0700
Delivery-date: Tue, 08 Apr 2008 02:05:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207430461 -3600
# Node ID 0551891920b2c6654cd5898c42891aa9ed4bca29
# Parent  6bf674bd386de8c3e4acd259c566aaf7206d6f11
stubdom: trivial warning fixup

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 tools/ioemu/vl.c |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff -r 6bf674bd386d -r 0551891920b2 tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Sat Apr 05 22:20:25 2008 +0100
+++ b/tools/ioemu/vl.c  Sat Apr 05 22:21:01 2008 +0100
@@ -7689,11 +7689,13 @@ int main(int argc, char **argv)
     bdrv_init();
     xc_handle = xc_interface_open();
 #ifdef CONFIG_STUBDOM
-    char *domid_s, *msg;
-    if ((msg = xenbus_read(XBT_NIL, "domid", &domid_s)))
-        fprintf(stderr,"Can not read our own domid\n", msg);
-    else
-        xenstore_parse_domain_config(atoi(domid_s));
+    {
+        char *domid_s, *msg;
+        if ((msg = xenbus_read(XBT_NIL, "domid", &domid_s)))
+            fprintf(stderr,"Can not read our own domid: %s\n", msg);
+        else
+            xenstore_parse_domain_config(atoi(domid_s));
+    }
 #else /* CONFIG_STUBDOM */
     xenstore_parse_domain_config(domid);
 #endif /* CONFIG_STUBDOM */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] stubdom: trivial warning fixup, Xen patchbot-unstable <=