13 lines
423 B
Plaintext
13 lines
423 B
Plaintext
$OpenBSD: patch-src_mount_c,v 1.1 2002/12/28 23:29:13 pvalchev Exp $
|
|
--- src/mount.c.orig Sat Dec 28 14:51:06 2002
|
|
+++ src/mount.c Sat Dec 28 14:52:28 2002
|
|
@@ -197,7 +197,7 @@ static gint run_cmd(MainInfo *min, const
|
|
if(dup(fd_err[STDOUT_FILENO]) == STDERR_FILENO)
|
|
{
|
|
if(close(fd_err[STDIN_FILENO]) == 0)
|
|
- execl(cmd, cname, arg, NULL);
|
|
+ execl(cmd, cname, arg, (void *)NULL);
|
|
}
|
|
}
|
|
perror("");
|