diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-07-20 10:35:28 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-07-20 10:35:28 +0000 |
| commit | 2836fb81112adc51d4768d5c19e13c9bfa31981d (patch) | |
| tree | dee26e21d20f181d416795ad93c750c0f0cea39f /usr.bin/script/script.c | |
| parent | cc79c2dd057a92f581b8c1a81dc746edcf092180 (diff) | |
Notes
Diffstat (limited to 'usr.bin/script/script.c')
| -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(); } |
