parenthetical mistake
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 29 Apr 1990 03:41:22 +0000 (19:41 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 29 Apr 1990 03:41:22 +0000 (19:41 -0800)
SCCS-vsn: bin/chmod/chmod.c 5.11

usr/src/bin/chmod/chmod.c

index 9d651e7..507def3 100644 (file)
@@ -22,7 +22,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)chmod.c    5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)chmod.c    5.11 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -100,7 +100,7 @@ done:       argv += optind;
                                continue;
                        }
                        if (chmod(p->accpath, oct ?
                                continue;
                        }
                        if (chmod(p->accpath, oct ?
-                           omode : getmode(set, p->statb.st_mode) && !fflag))
+                           omode : getmode(set, p->statb.st_mode)) && !fflag)
                                error(p->path);
                }
                exit(retval);
                                error(p->path);
                }
                exit(retval);