diff options
Diffstat (limited to 'usr.bin/script/script.c')
| -rw-r--r-- | usr.bin/script/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 5a19095fd0652..b6a59c83a83d0 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -245,7 +245,7 @@ doshell(av) execvp(av[0], av); warn("%s", av[0]); } else { - execl(shell, shell, "-i", NULL); + execl(shell, shell, "-i", (char *)NULL); warn("%s", shell); } fail(); |
