diff options
Diffstat (limited to 'usr.sbin/fmtree/compare.c')
-rw-r--r-- | usr.sbin/fmtree/compare.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/fmtree/compare.c b/usr.sbin/fmtree/compare.c index fdd3767..36d3f79 100644 --- a/usr.sbin/fmtree/compare.c +++ b/usr.sbin/fmtree/compare.c @@ -165,8 +165,9 @@ typeerr: LABEL; if (s->flags & F_NLINK && s->type != F_DIR && s->st_nlink != p->fts_statp->st_nlink) { LABEL; - (void)printf("%slink_count expected %u found %u\n", - tab, s->st_nlink, p->fts_statp->st_nlink); + (void)printf("%slink_count expected %ju found %ju\n", + tab, (uintmax_t)s->st_nlink, + (uintmax_t)p->fts_statp->st_nlink); tab = "\t"; } if (s->flags & F_SIZE && s->st_size != p->fts_statp->st_size && |