From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] stubdom: trivial warning fixup Date: Sat, 5 Apr 2008 15:53:04 +0200 Message-ID: <20080405135304.GJ4005@implementation> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org stubdom: trivial warning fixup Signed-off-by: Samuel Thibault --- 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 */