aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-11-29 14:17:27 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-11-29 14:17:27 +0000
commitd8dc5d8d75f9e913e7a0fdf5106dd7c654629ec4 (patch)
tree9d2a7f2441e1d4b3ba2e9e5f8bb4032efe111fe5 /tools/libxl/xl.c
parent69941c321ee32c4ce177136f496ad2e8c455db62 (diff)
downloadxen-d8dc5d8d75f9e913e7a0fdf5106dd7c654629ec4.tar.gz
xen-d8dc5d8d75f9e913e7a0fdf5106dd7c654629ec4.tar.bz2
xen-d8dc5d8d75f9e913e7a0fdf5106dd7c654629ec4.zip
xlu: add "dont_warn" to xlu_cfg_*
I want it for get_long but we might as well have it everywhere. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/xl.c')
-rw-r--r--tools/libxl/xl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c
index 7288f5f980..7b9d2c855a 100644
--- a/tools/libxl/xl.c
+++ b/tools/libxl/xl.c
@@ -62,10 +62,10 @@ static void parse_global_config(const char *configfile,
exit(1);
}
- if (!xlu_cfg_get_long (config, "autoballoon", &l))
+ if (!xlu_cfg_get_long (config, "autoballoon", &l, 0))
autoballoon = l;
- if (!xlu_cfg_get_string (config, "lockfile", &buf))
+ if (!xlu_cfg_get_string (config, "lockfile", &buf, 0))
lockfile = strdup(buf);
else {
e = asprintf(&lockfile, "%s/xl", (char *)libxl_lock_dir_path());
@@ -75,7 +75,7 @@ static void parse_global_config(const char *configfile,
}
}
- if (!xlu_cfg_get_string (config, "vifscript", &buf))
+ if (!xlu_cfg_get_string (config, "vifscript", &buf, 0))
default_vifscript = strdup(buf);
xlu_cfg_destroy(config);