[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen master] libxl: fix shutdown_reason type in list_domains
From: patchbot () xen ! org
Date: 2016-04-29 16:23:12
Message-ID: E1awBCC-0003iD-WB () xenbits ! xenproject ! org
[Download RAW message or body]
commit 1d006eb7dc17bf0ce221ef972e21ebb1a0e2a6dc
Author: Roger Pau Monne <roger.pau@citrix.com>
AuthorDate: Tue Apr 26 12:07:50 2016 +0200
Commit: Wei Liu <wei.liu2@citrix.com>
CommitDate: Wed Apr 27 14:12:50 2016 +0100
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>
---
tools/libxl/xl_cmdimpl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index 6346017..8ff54e1 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -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",
--
generated by git-patchbot for /home/xen/git/xen.git#master
[Attachment #3 (text/plain)]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
http://lists.xensource.com/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic