diff options
Diffstat (limited to 'hald/linux/probing/probe-ieee1394-unit.c')
-rw-r--r-- | hald/linux/probing/probe-ieee1394-unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hald/linux/probing/probe-ieee1394-unit.c b/hald/linux/probing/probe-ieee1394-unit.c index 70b0f863..aaa92e24 100644 --- a/hald/linux/probing/probe-ieee1394-unit.c +++ b/hald/linux/probing/probe-ieee1394-unit.c @@ -388,6 +388,8 @@ int main (int argc, char *argv[]) setup_logger (); + dbus_error_init (&error); + udi = getenv ("UDI"); if (udi == NULL) goto out; @@ -396,7 +398,6 @@ int main (int argc, char *argv[]) if (ieee1394_udi == NULL) goto out; - dbus_error_init (&error); if ((ctx = libhal_ctx_init_direct (&error)) == NULL) goto out; |