[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xl: libxl_list_vm returns a pointer, not a handle
commit 235f16a15dd2e3dc7f422e6505260e685fad7a3a Author: Matthew Daley <mattjd@xxxxxxxxx> AuthorDate: Wed Oct 30 20:51:55 2013 +1300 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Thu Oct 31 21:55:52 2013 +0000 xl: libxl_list_vm returns a pointer, not a handle Coverity-ID: 1054978 Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index fddaa80..43d1519 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -3247,7 +3247,7 @@ static void list_vm(void) info = libxl_list_vm(ctx, &nb_vm); - if (info < 0) { + if (!info) { fprintf(stderr, "libxl_domain_infolist failed.\n"); exit(1); } -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |