diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-07-10 09:18:19 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-07-10 09:18:19 +0000 |
| commit | b7ffba17f8c0492d8eb466f4537729bab2231286 (patch) | |
| tree | d2a7c6f3e7517f1b48dc4eb9643f3eac8d692c6b /usr.bin/script | |
| parent | 0c4d24a78fbd9f937393e4fdf3bbb07c9b762c03 (diff) | |
Notes
Diffstat (limited to 'usr.bin/script')
| -rw-r--r-- | usr.bin/script/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 708a59b68e61..e4663f9b4c29 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -244,10 +244,10 @@ doshell(av) login_tty(slave); if (av[0]) { execvp(av[0], av); - warn(av[0]); + warn("%s", av[0]); } else { execl(shell, shell, "-i", NULL); - warn(shell); + warn("%s", shell); } fail(); } |
