blob: 5f4fc848e4d07bbc4b0a2ba13e6ade184ed2a217 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ax,v 1.1 2010/01/26 01:12:02 macallan Exp $
--- hald/device_info.c.orig 2010-01-24 19:45:40.000000000 -0500
+++ hald/device_info.c
@@ -1083,8 +1083,15 @@ rules_match_and_merge_device (void *fdi_
/*HAL_INFO(("no match, skip to rule (%llx)", rule->jump_position));*/
rule = di_jump(rule);
+#if 0
+ /*
+ * XXX
+ * this fires when a node has a single child
+ * which happens on some non-x86 machines
+ */
if(rule == NULL)
DIE(("Rule is NULL on jump"));
+#endif
continue;
}
|