summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-03-23 07:41:49 +0000
committercharnier <charnier@FreeBSD.org>1998-03-23 07:41:49 +0000
commitb56244b9754b04a353a2b1b75f99e8899db6d6d4 (patch)
tree0f82e2fa199dd061b6a789325ac4c9b9204842d7 /usr.bin
parentb4450959dec9449216cd5582699927cf515f1a5d (diff)
downloadFreeBSD-src-b56244b9754b04a353a2b1b75f99e8899db6d6d4.zip
FreeBSD-src-b56244b9754b04a353a2b1b75f99e8899db6d6d4.tar.gz
Add rcsid. Correct -Wall warning.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/chpass/util.c b/usr.bin/chpass/util.c
index 605a484..132c151 100644
--- a/usr.bin/chpass/util.c
+++ b/usr.bin/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 */
OpenPOWER on IntegriCloud