On 04/04/2010 11:36 AM, Matthias Bolte wrote:
---
src/node_device/node_device_hal.c | 2 +-
src/nwfilter/nwfilter_ebiptables_driver.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/node_device/node_device_hal.c b/src/node_device/node_device_hal.c
index 4bf445d..0174794 100644
--- a/src/node_device/node_device_hal.c
+++ b/src/node_device/node_device_hal.c
@@ -836,7 +836,7 @@ static int halDeviceMonitorReload(void)
dbus_error_init(&err);
udi = libhal_get_all_devices(hal_ctx, &num_devs, &err);
if (udi == NULL) {
- fprintf(stderr, "%s: libhal_get_all_devices failed\n", __FUNCTION__);
+ VIR_ERROR0("libhal_get_all_devices failed");
ACK, although this may need modification depending on the answer to my
question on 01/30 on why logging messages don't need translation.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org