diff options
Diffstat (limited to 'usr.bin/mg')
-rw-r--r-- | usr.bin/mg/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 9b92b28887b..567684ca869 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.18 2001/07/06 13:32:45 art Exp $ */ +/* $OpenBSD: fileio.c,v 1.19 2001/07/09 07:04:49 deraadt Exp $ */ /* * POSIX fileio.c @@ -401,7 +401,7 @@ copy(frname, toname) if ((pid = vfork())) { if (pid == -1) return -1; - execl("/bin/cp", "cp", frname, toname, NULL); + execl("/bin/cp", "cp", frname, toname, (char *)NULL); _exit(1); /* shouldn't happen */ } waitpid(pid, &status, 0); |