mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xl: don't ignore return value from libxl_device_events_handler
That function can return a whole slew of error codes. Translate them to EXIT_FAILURE. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Release-acked-by: Julien Grall <julien.grall@arm.com>
This commit is contained in:
1 parent
0d1a96043a
commit
6cde97e33d
1 file changed
+1
-1
+1
-1
@@ -182,7 +182,7 @@ int main_devd(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
libxl_device_events_handler(ctx, 0);
|
||||
ret = libxl_device_events_handler(ctx, 0) ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||
|
||||
out:
|
||||
return ret;
|
||||
|
||||