diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2012-05-15 16:28:12 +0100 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2012-05-15 16:28:12 +0100 |
commit | f77723ad33a89f48ddcd5dcd628a8061fb41d18b (patch) | |
tree | ff8300dba0aceba270055bcb60d0443d58ef2a24 /tools/libxl/libxlu_disk.c | |
parent | c31d6a7ee2eaa4c224f718740267a8280648ebdf (diff) | |
download | xen-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_disk.c')
-rw-r--r-- | tools/libxl/libxlu_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxlu_disk.c b/tools/libxl/libxlu_disk.c index 6cd86e94bc..3d51defe1e 100644 --- a/tools/libxl/libxlu_disk.c +++ b/tools/libxl/libxlu_disk.c @@ -10,7 +10,7 @@ void xlu__disk_err(DiskParseContext *dpc, const char *erroneous, "%s: config parsing error in disk specification: %s" "%s%s%s" " in `%s'\n", - dpc->cfg->filename, message, + dpc->cfg->config_source, message, erroneous?": near `":"", erroneous?erroneous:"", erroneous?"'":"", dpc->spec); if (!dpc->err) dpc->err= EINVAL; |