summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r--usr.sbin/mtree/compare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 166fb5b..c8740fc 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -169,9 +169,9 @@ typeerr: LABEL;
* XXX
* 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)) {
+ 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))) {
LABEL;
(void)printf("%smodification time (%.24s, ",
tab, ctime(&s->st_mtimespec.ts_sec));
OpenPOWER on IntegriCloud