diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-17 17:57:44 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-17 17:57:44 +0000 |
commit | 185c296921b09bed1040d303b9681e9f94386daf (patch) | |
tree | bfdb678d9c804980d2e88ff66af859347978f737 | |
parent | b558580d6f7bbca0dc08645e289458abd335f0c6 (diff) | |
download | xen-185c296921b09bed1040d303b9681e9f94386daf.tar.gz xen-185c296921b09bed1040d303b9681e9f94386daf.tar.bz2 xen-185c296921b09bed1040d303b9681e9f94386daf.zip |
libxenlight: Add the line number to the config file parsing error message
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
-rw-r--r-- | tools/libxl/xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index ed3ca4e1ce..52bd8b8d02 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -407,7 +407,7 @@ static void parse_config_file(const char *filename, newfilename = compat_config_file(filename); config_init (&config); if (!config_read_file(&config, newfilename)) { - fprintf(stderr, "Failed to parse config file %s, try removing any embedded python code\n", config_error_text(&config)); + fprintf(stderr, "Failed to parse config file %s on line %d, try removing any embedded python code\n", config_error_text(&config), config_error_line(&config)); exit(1); } free(newfilename); |