diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 1997-10-10 06:27:07 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 1997-10-10 06:27:07 +0000 |
| commit | 8b76e1d7a823832b9b77071f7be89534241b8115 (patch) | |
| tree | c02e5909b128f91d8bf946751a4f08cf68611ae4 /lib | |
| parent | 1dcc6ec750ce84c42fee6fb29a88c20b3b91f4ed (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/pw_scan.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/pw_scan.c b/lib/libc/gen/pw_scan.c index 00f640bd0e9a..d4747867c94a 100644 --- a/lib/libc/gen/pw_scan.c +++ b/lib/libc/gen/pw_scan.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ /* @@ -45,7 +49,6 @@ static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; #include <err.h> #include <fcntl.h> #include <pwd.h> -#include <errno.h> #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -133,7 +136,7 @@ pw_scan(bp, pw) } if(p[0]) pw->pw_fields |= _PWF_SHELL; - if (p = strsep(&bp, ":")) { /* too many */ + if ((p = strsep(&bp, ":"))) { /* too many */ fmt: warnx("corrupted entry"); return (0); } |
