diff options
Diffstat (limited to 'hald/linux/probing/probe-printer.c')
-rw-r--r-- | hald/linux/probing/probe-printer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hald/linux/probing/probe-printer.c b/hald/linux/probing/probe-printer.c index 91ed7bcd..7c6d1c61 100644 --- a/hald/linux/probing/probe-printer.c +++ b/hald/linux/probing/probe-printer.c @@ -66,6 +66,8 @@ main (int argc, char *argv[]) ret = 1; setup_logger (); + + dbus_error_init (&error); udi = getenv ("UDI"); if (udi == NULL) { @@ -73,7 +75,6 @@ main (int argc, char *argv[]) goto out; } - dbus_error_init (&error); if ((ctx = libhal_ctx_init_direct (&error)) == NULL) { HAL_ERROR (("ctx init failed")); goto out; |