hal/hald/linux2/addons addon-usb-csr.c,1.3,1.4
David Zeuthen
david at freedesktop.org
Wed Apr 27 12:06:45 PDT 2005
Update of /cvs/hal/hal/hald/linux2/addons
In directory gabe:/tmp/cvs-serv11433/hald/linux2/addons
Modified Files:
addon-usb-csr.c
Log Message:
2005-04-27 David Zeuthen <davidz at redhat.com>
* hald/linux2/addons/addon-usb-csr.c (main): Fix compilation error
now that this piece of code actually compiles.
* configure.in: Doh, check for libusb-config, not libusb-configxxx.
Fix from Richard Hughes <hughsient at gmail.com>.
Index: addon-usb-csr.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/addons/addon-usb-csr.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- addon-usb-csr.c 8 Apr 2005 18:10:20 -0000 1.3
+++ addon-usb-csr.c 27 Apr 2005 19:06:43 -0000 1.4
@@ -405,8 +405,10 @@
}
dbus_error_init (&err);
- if ((ctx = libhal_ctx_init_direct (&err)) == NULL)
- goto out;
+ if ((hal_context = libhal_ctx_init_direct (&err)) == NULL) {
+ fprintf (stderr, "Cannot connect to hald\n");
+ return -3;
+ }
update_properties ();
More information about the hal-commit
mailing list