From f3e2a0e31338a081fe6b333262894f4fbac5f9d0 Mon Sep 17 00:00:00 2001 From: billf Date: Mon, 27 Sep 1999 00:36:03 +0000 Subject: -Wall fixes. Submitted by: nrahlstr --- usr.sbin/mtree/compare.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/mtree/compare.c') diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c index 0f6adf6..d48db41 100644 --- a/usr.sbin/mtree/compare.c +++ b/usr.sbin/mtree/compare.c @@ -194,7 +194,7 @@ typeerr: LABEL; ctime(&p->fts_statp->st_mtimespec.tv_sec)); tab = "\t"; } - if (s->flags & F_CKSUM) + if (s->flags & F_CKSUM) { if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) { LABEL; (void)printf("%scksum: %s: %s\n", @@ -215,6 +215,7 @@ typeerr: LABEL; } tab = "\t"; } + } #ifdef MD5 if (s->flags & F_MD5) { char *new_digest, buf[33]; -- cgit v1.1