diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2012-02-21 17:45:59 +0000 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2012-02-21 17:45:59 +0000 |
commit | 85c49351f7496446e2813ae2630d925b62fe6261 (patch) | |
tree | cae8e30eb35d3460842cce7e4499d2dde972c981 | |
parent | 2484d09e2a4574e181df58de6a44bafc6c663a40 (diff) | |
download | xen-85c49351f7496446e2813ae2630d925b62fe6261.tar.gz xen-85c49351f7496446e2813ae2630d925b62fe6261.tar.bz2 xen-85c49351f7496446e2813ae2630d925b62fe6261.zip |
libxl: cleanup: Remove pointless ERRNOVAL
Just call LIBXL__LOG rather than passing a meaningless ERRNOVAL.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
-rw-r--r-- | tools/libxl/libxl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 68bba8f499..a1f63fba38 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -3008,13 +3008,13 @@ int libxl_sched_credit_domain_set(libxl_ctx *ctx, uint32_t domid, libxl_sched_cr if (scinfo->weight < 1 || scinfo->weight > 65535) { - LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc, + LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "Cpu weight out of range, valid values are within range from 1 to 65535"); return ERROR_INVAL; } if (scinfo->cap < 0 || scinfo->cap > (domaininfo.max_vcpu_id + 1) * 100) { - LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc, + LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "Cpu cap out of range, valid range is from 0 to %d for specified number of vcpus", ((domaininfo.max_vcpu_id + 1) * 100)); return ERROR_INVAL; |