|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: fix xcflags assignment in libxl__domain_suspend
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1360063871 0
# Node ID d3bddb9ab8ce3a27c4ed5290c9bbb46bdbef2bad
# Parent 66346dcae70f31a5989094bedfcbde7e7d5955ad
libxl: fix xcflags assignment in libxl__domain_suspend
Currently ->xcflags remains 1 because the braces are placed incorrectly.
Put each logical unit into its own braces to fix assigment to xcflags.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r 66346dcae70f -r d3bddb9ab8ce tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c Tue Feb 05 11:31:11 2013 +0000
+++ b/tools/libxl/libxl_dom.c Tue Feb 05 11:31:11 2013 +0000
@@ -1238,9 +1238,9 @@ void libxl__domain_suspend(libxl__egc *e
abort();
}
- dss->xcflags = (live) ? XCFLAGS_LIVE : 0
- | (debug) ? XCFLAGS_DEBUG : 0
- | (dss->hvm) ? XCFLAGS_HVM : 0;
+ dss->xcflags = (live ? XCFLAGS_LIVE : 0)
+ | (debug ? XCFLAGS_DEBUG : 0)
+ | (dss->hvm ? XCFLAGS_HVM : 0);
dss->suspend_eventchn = -1;
dss->guest_responded = 0;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |