All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stubdom: trivial warning fixup
@ 2008-04-05 13:53 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-04-05 13:53 UTC (permalink / raw)
  To: xen-devel

stubdom: trivial warning fixup

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>

--- a/tools/ioemu/vl.c	Sat Apr 05 13:33:26 2008 +0100
+++ b/tools/ioemu/vl.c	Sat Apr 05 14:42:47 2008 +0100
@@ -7689,11 +7689,13 @@
     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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-05 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 13:53 [PATCH] stubdom: trivial warning fixup Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.