stubdom: trivial warning fixup

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2008-04-05 22:21:01 +01:00
1 parent aae7fe3fa4
commit a17eacb099
1 file changed
+7 -5
+7 -5
View File
@@ -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 */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.