openbsd-ports/productivity/siag/patches/patch-xfiler_Fw_c

16 lines
718 B
Plaintext

$OpenBSD: patch-xfiler_Fw_c,v 1.1 2003/03/02 21:22:22 pvalchev Exp $
--- xfiler/Fw.c.orig Sun Mar 2 12:50:28 2003
+++ xfiler/Fw.c Sun Mar 2 12:50:44 2003
@@ -858,9 +858,9 @@ static int devAction(int d, char *action
fprintf(stderr, "%s\n", action);
freopen("/dev/null", "r", stdin);
if (user.arg0flag)
- execlp(user.shell, user.shell, "-c", action, user.shell, NULL);
+ execlp(user.shell, user.shell, "-c", action, user.shell, (void *)NULL);
else
- execlp(user.shell, user.shell, "-c", action, NULL);
+ execlp(user.shell, user.shell, "-c", action, (void *)NULL);
perror("Exec failed");
exit(1);
} else if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||