diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c index caaaff567b73..19e48cdb60e0 100644 --- a/usr.sbin/mtree/compare.c +++ b/usr.sbin/mtree/compare.c @@ -115,6 +115,7 @@ compare(name, s, p) typeerr: LABEL; (void)printf("\ttype expected %s found %s\n", ftype(s->type), inotype(p->fts_statp->st_mode)); + return (label); } break; }