# HG changeset patch
# User Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
# Date 1311104779 10800
# Node ID 43f9834c98a030ada1d69693d119cdc6367cf284
# Parent 3c90a88a5199a4ed931a4a76097cff8f55deae41
libxkutil: More meaningful log message
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
diff --git a/libxkutil/misc_util.c b/libxkutil/misc_util.c
--- a/libxkutil/misc_util.c
+++ b/libxkutil/misc_util.c
@@ -73,14 +73,14 @@
ret = config_read_file(&conf, LIBVIRTCIM_CONF);
if (ret == CONFIG_FALSE) {
- CU_DEBUG("Error reading config file at liine %d:
'%s'\n",
+ CU_DEBUG("Error reading config file at line %d:
'%s'\n",
conf.error_line, conf.error_text);
goto out;
}
ret = config_lookup_bool(&conf, readonly_str, &readonly);
if (ret == CONFIG_FALSE) {
- CU_DEBUG("Error: '%s' not found in config file\n",
+ CU_DEBUG("'%s' not found in config file, assuming
false\n",
readonly_str);
goto out;
}