aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlu_vif.c
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2012-05-15 16:28:12 +0100
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2012-05-15 16:28:12 +0100
commitf77723ad33a89f48ddcd5dcd628a8061fb41d18b (patch)
treeff8300dba0aceba270055bcb60d0443d58ef2a24 /tools/libxl/libxlu_vif.c
parentc31d6a7ee2eaa4c224f718740267a8280648ebdf (diff)
downloadxen-f77723ad33a89f48ddcd5dcd628a8061fb41d18b.tar.gz
xen-f77723ad33a89f48ddcd5dcd628a8061fb41d18b.tar.bz2
xen-f77723ad33a89f48ddcd5dcd628a8061fb41d18b.zip
libxlu: Rename filename to config_source
The "filename" is a bit of a misnomer, as it's only used during error messages, and in most instances cases is actually set to "command line". Rename it to "config_source" to make it clear that it's not used to actually open any files. No functional changes. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxlu_vif.c')
-rw-r--r--tools/libxl/libxlu_vif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxlu_vif.c b/tools/libxl/libxlu_vif.c
index e3f78a3f8d..3b3de0f811 100644
--- a/tools/libxl/libxlu_vif.c
+++ b/tools/libxl/libxlu_vif.c
@@ -7,7 +7,7 @@ static const char *vif_internal_usec_re = "^[0-9]+[mu]?s?$";
static void xlu__vif_err(XLU_Config *cfg, const char *msg, const char *rate) {
fprintf(cfg->report,
"%s: config parsing error in vif: %s in `%s'\n",
- cfg->filename, msg, rate);
+ cfg->config_source, msg, rate);
}
static int vif_parse_rate_bytes_per_sec(XLU_Config *cfg, const char *bytes,