summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:54:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:54:02 +0000
commitacb8078dd50f6c9d5849e0699b0415d4019f356d (patch)
tree838612984598e7803e825e2b519ef3345b6df899
parent03d6b8d4f13da743a1f4e0f42950da18174e6952 (diff)
from netbsd: add () in an expression even though it is not really needed
-rw-r--r--usr.sbin/mtree/compare.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 31a656d3021..2e22d69df9e 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -1,4 +1,4 @@
-/* $NetBSD: compare.c,v 1.8 1995/03/07 21:12:05 cgd Exp $ */
+/* $NetBSD: compare.c,v 1.9 1995/10/22 20:12:07 pk Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)compare.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$NetBSD: compare.c,v 1.8 1995/03/07 21:12:05 cgd Exp $";
+static char rcsid[] = "$NetBSD: compare.c,v 1.9 1995/10/22 20:12:07 pk Exp $";
#endif
#endif /* not lint */
@@ -176,8 +176,8 @@ typeerr: LABEL;
* Catches nano-second differences, but doesn't display them.
*/
if (s->flags & F_TIME &&
- s->st_mtimespec.ts_sec != p->fts_statp->st_mtimespec.ts_sec ||
- s->st_mtimespec.ts_nsec != p->fts_statp->st_mtimespec.ts_nsec) {
+ (s->st_mtimespec.ts_sec != p->fts_statp->st_mtimespec.ts_sec ||
+ s->st_mtimespec.ts_nsec != p->fts_statp->st_mtimespec.ts_nsec)) {
LABEL;
(void)printf("%smodification time (%.24s, ",
tab, ctime(&s->st_mtimespec.ts_sec));