+1 and pushed. Thanks for fixing that. I saw lots more 'Errors' that are
not actual errors after we added the read-only support.
On 07/19/2011 03:46 PM, Eduardo Lima (Etrunko) wrote:
# 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;
}
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent(a)linux.vnet.ibm.com