hal/tools hal-device.c,1.1,1.2

David Zeuthen david at freedesktop.org
Mon Jul 25 21:40:45 PDT 2005


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv14737/tools

Modified Files:
	hal-device.c 
Log Message:
2005-07-26  David Zeuthen  <davidz at redhat.com>

        * drive_id/ata.c, drive_id/drive_id.c, drive_id/scsi.c,
        hald/device.c, hald/device_store.c, hald/linux2/apm.c,
        hald/linux2/osspec.c, hald/linux2/pcmcia_utils.c,
        hald/linux2/probing/probe-storage.c, tools/hal-device.c,
        volume_id/fat.c, volume_id/iso9660.c, volume_id/isw_raid.c,
        volume_id/lvm.c, volume_id/romfs.c, volume_id/volume_id.c: This is
        a patch (against CVS) to fix several compiler warnings with gcc
        3.x and 4.x. Please review. Patch from Danny Kukawka
        <danny.kukawka at web.de>.



Index: hal-device.c
===================================================================
RCS file: /cvs/hal/hal/tools/hal-device.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hal-device.c	8 Jul 2005 23:02:29 -0000	1.1
+++ hal-device.c	26 Jul 2005 04:40:43 -0000	1.2
@@ -304,7 +304,7 @@
 
 	dbus_error_init(&error);
 
-	if (remove) {
+	if (opt.remove) {
 		if (!libhal_remove_device(hal_ctx, udi, &error)) {
 			fprintf(stderr, "%s: %s\n", error.name, error.message);
 			return 12;




More information about the hal-commit mailing list