diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:22:56 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:22:56 +0000 |
commit | 7b333c32e3291b2555abfce8ecf98d4523be7d22 (patch) | |
tree | 7be13f05009e571e7a2653e8ea104359225e4567 /usr.bin/script/script.c | |
parent | 267de3dc10b4ff5bb9de73988f1b568890427b0c (diff) | |
download | FreeBSD-src-7b333c32e3291b2555abfce8ecf98d4523be7d22.zip FreeBSD-src-7b333c32e3291b2555abfce8ecf98d4523be7d22.tar.gz |
Warns cleanups. Add FreeBSD ID.
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 20c6a01..115c1f9 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -66,7 +66,7 @@ static const char rcsid[] = FILE *fscript; int master, slave; int child; -char *fname; +const char *fname; int qflg; struct termios tt; @@ -232,7 +232,7 @@ void doshell(av) char **av; { - char *shell; + const char *shell; shell = getenv("SHELL"); if (shell == NULL) |