mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
libxl: fix shutdown_reason type in list_domains
It should be an enum, not an unsigned. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Doug Goldstein <cardoe@cardoe.com> Release-acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
13b3d3505c
commit
1d006eb7dc
1 file changed
+1
-1
@@ -4254,7 +4254,7 @@ static void list_domains(bool verbose, bool context, bool claim, bool numa,
|
||||
printf("\n");
|
||||
for (i = 0; i < nb_domain; i++) {
|
||||
char *domname;
|
||||
unsigned shutdown_reason;
|
||||
libxl_shutdown_reason shutdown_reason;
|
||||
domname = libxl_domid_to_name(ctx, info[i].domid);
|
||||
shutdown_reason = info[i].shutdown ? info[i].shutdown_reason : 0;
|
||||
printf("%-40s %5d %5lu %5d %c%c%c%c%c%c %8.1f",
|
||||
|
||||