Skip to content

Commit 59d0280

Browse files
committed
Fix boot crash; bug #301192
1 parent 6fbfb4b commit 59d0280

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN hal-0.5.14.orig/hald/linux/probing/probe-input.c hal-0.5.14/hald/linux/probing/probe-input.c
2+
--- hal-0.5.14.orig/hald/linux/probing/probe-input.c 2009-08-24 08:42:30.000000000 -0400
3+
+++ hal-0.5.14/hald/linux/probing/probe-input.c 2010-01-20 07:50:18.378846295 -0500
4+
@@ -70,6 +70,7 @@ main (int argc, char *argv[])
5+
fd = -1;
6+
7+
setup_logger ();
8+
+ dbus_error_init (&error);
9+
10+
button_type = getenv ("HAL_PROP_BUTTON_TYPE");
11+
if (button_type == NULL)
12+
@@ -96,7 +97,6 @@ main (int argc, char *argv[])
13+
if (udi == NULL)
14+
goto out;
15+
16+
- dbus_error_init (&error);
17+
if ((ctx = libhal_ctx_init_direct (&error)) == NULL)
18+
goto out;
19+

0 commit comments

Comments
 (0)