mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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@aepfle.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
a2a9b63b48
commit
aa6f208aec
1 file changed
+3
-3
@@ -1238,9 +1238,9 @@ void libxl__domain_suspend(libxl__egc *egc, libxl__domain_suspend_state *dss)
|
||||
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;
|
||||
|
||||