diff options
author | Matthew D Fleming <mdf@FreeBSD.org> | 2012-09-27 23:31:06 +0000 |
---|---|---|
committer | Matthew D Fleming <mdf@FreeBSD.org> | 2012-09-27 23:31:06 +0000 |
commit | e25a029eb2496de2e47cd3a936ad4c24bf0043ba (patch) | |
tree | 51028e29caefe265e99cac58ecb1cce380def92e /sbin/dump | |
parent | 623d7cb6637493a21a89389323d72428f85affcc (diff) | |
download | src-e25a029eb2496de2e47cd3a936ad4c24bf0043ba.tar.gz src-e25a029eb2496de2e47cd3a936ad4c24bf0043ba.zip |
Notes
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/traverse.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/dump/traverse.c b/sbin/dump/traverse.c index f593244f40d1..8258f079c0ed 100644 --- a/sbin/dump/traverse.c +++ b/sbin/dump/traverse.c @@ -197,8 +197,8 @@ mapfiles(ino_t maxino, long *tapesize) (mode & IFMT) == 0) continue; if (ino >= maxino) { - msg("Skipping inode %d >= maxino %d\n", - ino, maxino); + msg("Skipping inode %ju >= maxino %ju\n", + (uintmax_t)ino, (uintmax_t)maxino); continue; } /* @@ -400,15 +400,16 @@ searchdir( for (loc = 0; loc < size; ) { dp = (struct direct *)(dblk + loc); if (dp->d_reclen == 0) { - msg("corrupted directory, inumber %d\n", ino); + msg("corrupted directory, inumber %ju\n", + (uintmax_t)ino); break; } loc += dp->d_reclen; if (dp->d_ino == 0) continue; if (dp->d_ino >= maxino) { - msg("corrupted directory entry, d_ino %d >= %d\n", - dp->d_ino, maxino); + msg("corrupted directory entry, d_ino %ju >= %ju\n", + (uintmax_t)dp->d_ino, (uintmax_t)maxino); break; } if (dp->d_name[0] == '.') { |