hal/hald/linux2/probing probe-input.c,1.2,1.3

David Zeuthen david at freedesktop.org
Tue Feb 1 07:36:30 PST 2005


Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv26243/hald/linux2/probing

Modified Files:
	probe-input.c 
Log Message:
2005-02-01  David Zeuthen  <davidz at redhat.com>

	* hald/linux2/probing/probe-input.c (main): Fix a bug here where
	we checked for the wrong return value of libhal_ctx_init.



Index: probe-input.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-input.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- probe-input.c	31 Jan 2005 20:06:41 -0000	1.2
+++ probe-input.c	1 Feb 2005 15:36:27 -0000	1.3
@@ -137,7 +137,7 @@
 		goto out;
 	if (!libhal_ctx_set_dbus_connection (ctx, dbus_bus_get (DBUS_BUS_SYSTEM, NULL)))
 		goto out;
-	if (libhal_ctx_init (ctx, NULL))
+	if (!libhal_ctx_init (ctx, NULL))
 		goto out;
 
 	device_file = getenv ("HAL_PROP_INPUT_DEVICE");




More information about the hal-commit mailing list