fix precedence problem
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Sun, 8 Sep 1985 11:04:36 +0000 (03:04 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Sun, 8 Sep 1985 11:04:36 +0000 (03:04 -0800)
SCCS-vsn: usr.bin/find/find.c 4.15

usr/src/usr.bin/find/find.c

index 022d546..93bce5b 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef        lint
 #ifndef        lint
-static char *sccsid = "@(#)find.c      4.14 (Berkeley) %G%";
+static char *sccsid = "@(#)find.c      4.15 (Berkeley) %G%";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -962,13 +962,11 @@ getname(uid)
        register struct passwd *pw;
        struct passwd *getpwent();
        register int cp;
        register struct passwd *pw;
        struct passwd *getpwent();
        register int cp;
-#ifndef        NO_PW_STAYOPEN
        extern int _pw_stayopen;
 
        _pw_stayopen = 1;
        extern int _pw_stayopen;
 
        _pw_stayopen = 1;
-#endif
 
 
-#if    ((NUID) & ((NUID) - 1) != 0)
+#if    (((NUID) & ((NUID) - 1)) != 0)
        cp = uid % (NUID);
 #else
        cp = uid & ((NUID) - 1);
        cp = uid % (NUID);
 #else
        cp = uid & ((NUID) - 1);