]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Add rcsid. Correct -Wall warning.
authorPhilippe Charnier <charnier@FreeBSD.org>
Mon, 23 Mar 1998 07:41:49 +0000 (07:41 +0000)
committerPhilippe Charnier <charnier@FreeBSD.org>
Mon, 23 Mar 1998 07:41:49 +0000 (07:41 +0000)
chpass/util.c

index 605a48455fa0a6012c5cd8a87d1dc23ccf29ef42..132c1514f99aaab3f2661e2de4636365bcbbb285 100644 (file)
  */
 
 #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 */