diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-06-29 08:57:11 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-06-29 08:57:11 +0100 |
commit | 904efa0b84e297748e68d31195f1e2428789ae51 (patch) | |
tree | 042e1b18e80fa9d937c990dc30e22a272809540c /tools/libxl/libxl_dom.c | |
parent | 3b77aadeae6d33e7cce88a615ef0a25e72c837ac (diff) | |
download | xen-904efa0b84e297748e68d31195f1e2428789ae51.tar.gz xen-904efa0b84e297748e68d31195f1e2428789ae51.tar.bz2 xen-904efa0b84e297748e68d31195f1e2428789ae51.zip |
libxl: correct type of cpupool variable.
libxl__domain_cpupool returns int and can return ERROR_* so we need to
use a signed type.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_dom.c')
-rw-r--r-- | tools/libxl/libxl_dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index 8f0a0a2f6a..6120c82c0e 100644 --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -73,7 +73,7 @@ int libxl__domain_cpupool(libxl__gc *gc, uint32_t domid) libxl_scheduler libxl__domain_scheduler(libxl__gc *gc, uint32_t domid) { - uint32_t cpupool = libxl__domain_cpupool(gc, domid); + int cpupool = libxl__domain_cpupool(gc, domid); libxl_cpupoolinfo poolinfo; libxl_scheduler sched = LIBXL_SCHEDULER_UNKNOWN; int rc; |