From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] stubdom: trivial warning fixup
Date: Sat, 5 Apr 2008 15:53:04 +0200 [thread overview]
Message-ID: <20080405135304.GJ4005@implementation> (raw)
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 */
reply other threads:[~2008-04-05 13:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080405135304.GJ4005@implementation \
--to=samuel.thibault@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.