From ceb918bfbbf436adb1078bb395775bee3e254c86 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Mon, 23 Mar 1998 07:41:49 +0000 Subject: Add rcsid. Correct -Wall warning. --- chpass/util.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chpass/util.c') diff --git a/chpass/util.c b/chpass/util.c index 605a484..132c151 100644 --- a/chpass/util.c +++ b/chpass/util.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)util.c 8.4 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include @@ -135,7 +139,7 @@ ok_shell(name) char *p, *sh; setusershell(); - while (sh = getusershell()) { + while ((sh = getusershell())) { if (!strcmp(name, sh)) return (name); /* allow just shell name, but use "real" path */ -- cgit v1.2.3-56-ge451