summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/pass4.c')
-rw-r--r--sbin/fsck_ffs/pass4.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/pass4.c b/sbin/fsck_ffs/pass4.c
index 4b2af7b..80a32c1 100644
--- a/sbin/fsck_ffs/pass4.c
+++ b/sbin/fsck_ffs/pass4.c
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <ufs/ffs/fs.h>
#include <err.h>
+#include <stdint.h>
#include <string.h>
#include "fsck.h"
@@ -114,8 +115,9 @@ pass4(void)
break;
default:
- errx(EEXIT, "BAD STATE %d FOR INODE I=%d",
- inoinfo(inumber)->ino_state, inumber);
+ errx(EEXIT, "BAD STATE %d FOR INODE I=%ju",
+ inoinfo(inumber)->ino_state,
+ (uintmax_t)inumber);
}
}
}
OpenPOWER on IntegriCloud