hal/hald/linux2/addons addon-storage.c,1.6,1.7
Kay Sievers
kay at freedesktop.org
Fri Jul 1 04:08:56 PDT 2005
Update of /cvs/hal/hal/hald/linux2/addons
In directory gabe:/tmp/cvs-serv826/hald/linux2/addons
Modified Files:
addon-storage.c
Log Message:
2005-07-01 Kay Sievers <kay.sievers at vrfy.org>
* hald/linux2/addons/addon-storage.c: (force_unmount):
Terminate execl() argument list.
Index: addon-storage.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/addons/addon-storage.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- addon-storage.c 2 May 2005 16:08:59 -0000 1.6
+++ addon-storage.c 1 Jul 2005 11:08:54 -0000 1.7
@@ -56,7 +56,7 @@
case -1:
break;
case 0:
- execl ("/bin/umount", "-l", device_file_or_mount_point);
+ execl ("/bin/umount", "-l", device_file_or_mount_point, NULL);
break;
default:
waitpid (pid, NULL, 0);
More information about the hal-commit
mailing list