From cb64c8c89f6b119b0405bf5d4a7f0bce863ad043 Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Tue, 28 Jun 2011 17:09:02 -0400 Subject: [PATCH] Fix input parsing to allow domain again Signed-off-by: Lon Hohberger --- client/options.c | 1 + server/checkpoint.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/options.c b/client/options.c index 180bb6c..4cb382d 100644 --- a/client/options.c +++ b/client/options.c @@ -787,6 +787,7 @@ args_get_stdin(const char *optstr, fence_virt_args_t *args) arg = find_arg_by_string(name); if (!arg || (arg->opt != '\xff' && + arg->opt != SCHEMA_COMPAT && !strchr(optstr, arg->opt))) { fprintf(stderr, "parse warning: " diff --git a/server/checkpoint.c b/server/checkpoint.c index 35fe39b..cbf09d6 100644 --- a/server/checkpoint.c +++ b/server/checkpoint.c @@ -298,7 +298,7 @@ cluster_virt_status(const char *vm_name, uint32_t *owner) } out: - dbg_printf(80, "%s %s ret %d\n", __FUNCTION__, vm_name, ret); + dbg_printf(80, "%s %s\n", __FUNCTION__, vm_name); return ret; } @@ -371,7 +371,7 @@ do_off(const char *vm_name) virDomainInfo vdi; int ret = -1; - dbg_printf(5, "%s %s uuid %d\n", __FUNCTION__, vm_name, use_uuid); + dbg_printf(5, "%s %s\n", __FUNCTION__, vm_name); vp = virConnectOpen(uri); if (!vp) return 1;