summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtree/compare.c')
-rw-r--r--usr.sbin/mtree/compare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 648f70c..a0de667 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -212,8 +212,8 @@ typeerr: LABEL;
LABEL;
(void)printf("%scksum expected %lu found %lu\n",
tab, s->cksum, val);
+ tab = "\t";
}
- tab = "\t";
}
}
/*
@@ -301,7 +301,7 @@ typeerr: LABEL;
strcmp(cp = rlink(p->fts_accpath), s->slink)) {
LABEL;
(void)printf("%slink_ref expected %s found %s\n",
- tab, cp, s->slink);
+ tab, s->slink, cp);
}
return (label);
}
OpenPOWER on IntegriCloud