summaryrefslogtreecommitdiffstats
path: root/chpass/util.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-03-23 07:41:49 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-03-23 07:41:49 +0000
commitceb918bfbbf436adb1078bb395775bee3e254c86 (patch)
tree8ac331b0ba9264baf473dbf6b1accbdc6e0b9997 /chpass/util.c
parent5f0c96f2a7b918363d6b3e34a1855ddc64f26a41 (diff)
downloadpw-darwin-ceb918bfbbf436adb1078bb395775bee3e254c86.tar.gz
pw-darwin-ceb918bfbbf436adb1078bb395775bee3e254c86.tar.zst
pw-darwin-ceb918bfbbf436adb1078bb395775bee3e254c86.zip
Add rcsid. Correct -Wall warning.
Diffstat (limited to 'chpass/util.c')
-rw-r--r--chpass/util.c6
1 files changed, 5 insertions, 1 deletions
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 <sys/types.h>
@@ -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 */