diff options
Diffstat (limited to 'hald/linux/probing/probe-net-bluetooth.c')
-rw-r--r-- | hald/linux/probing/probe-net-bluetooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hald/linux/probing/probe-net-bluetooth.c b/hald/linux/probing/probe-net-bluetooth.c index 0b1b912c..e911eea1 100644 --- a/hald/linux/probing/probe-net-bluetooth.c +++ b/hald/linux/probing/probe-net-bluetooth.c @@ -141,6 +141,8 @@ main (int argc, char *argv[]) DBusMessage *reply = NULL; DBusError error; + dbus_error_init (&error); + udi = getenv ("UDI"); if (udi == NULL) goto out; @@ -151,8 +153,6 @@ main (int argc, char *argv[]) HAL_INFO (("Investigating '%s'", iface)); - dbus_error_init (&error); - if ((conn = dbus_bus_get (DBUS_BUS_SYSTEM, &error)) == NULL) goto out; |