diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
| commit | 7bc6d0158f0e9863a2a13a951321185d214cd3be (patch) | |
| tree | a109115514a8774e981280efca775db8a410df5b /usr.bin/tip | |
| parent | b5b15b9e7fbe55119213a41835516dc91b25e978 (diff) | |
Notes
Diffstat (limited to 'usr.bin/tip')
| -rw-r--r-- | usr.bin/tip/tip/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/tip/cmds.c b/usr.bin/tip/tip/cmds.c index 10198bab61d8..28b03ef22b68 100644 --- a/usr.bin/tip/tip/cmds.c +++ b/usr.bin/tip/tip/cmds.c @@ -765,7 +765,7 @@ shell() else cp++; shell_uid(); - execl(value(SHELL), cp, 0); + execl(value(SHELL), cp, (char *)0); printf("\r\ncan't execl!\r\n"); exit(1); } @@ -865,7 +865,7 @@ execute(s) else cp++; shell_uid(); - execl(value(SHELL), cp, "-c", s, 0); + execl(value(SHELL), cp, "-c", s, (char *)0); } static int @@ -1051,7 +1051,7 @@ expand(name) close(pivec[1]); close(2); shell_uid(); - execl(Shell, Shell, "-c", cmdbuf, 0); + execl(Shell, Shell, "-c", cmdbuf, (char *)0); _exit(1); } if (pid == -1) { |
