openbsd-ports/multimedia/xine-lib/patches/patch-src_input_media_helper_c
2007-05-01 20:05:10 +00:00

13 lines
435 B
Plaintext

$OpenBSD: patch-src_input_media_helper_c,v 1.2 2007/05/01 20:05:10 naddy Exp $
--- src/input/media_helper.c.orig Sun Jul 9 16:37:35 2006
+++ src/input/media_helper.c Tue May 1 22:03:06 2007
@@ -59,7 +59,7 @@ static int media_umount_media(const char *device)
pid=fork();
if (pid == 0) {
- execl("/bin/umount", "umount", device, NULL);
+ execl("/bin/umount", "umount", device, (char *)NULL);
exit(127);
}
do {