summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-07-31 12:01:14 +0000
committermux <mux@FreeBSD.org>2002-07-31 12:01:14 +0000
commitffba0988ee558a7a26879156644d46d44c24ba8a (patch)
tree47daaae22cea254b64f1377471faae25ff66463e /sbin/fsck_ffs/inode.c
parent919470cf7d44b541c704c209ee7db09bc6b3b6d7 (diff)
downloadFreeBSD-src-ffba0988ee558a7a26879156644d46d44c24ba8a.zip
FreeBSD-src-ffba0988ee558a7a26879156644d46d44c24ba8a.tar.gz
Fix a bunch of format string warnings which broke
the sparc64 build. Tested on: sparc64, i386
Diffstat (limited to 'sbin/fsck_ffs/inode.c')
-rw-r--r--sbin/fsck_ffs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 8a2e04b..d05e330 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -562,7 +562,7 @@ pinode(ino_t ino)
printf("MODE=%o\n", DIP(dp, di_mode));
if (preen)
printf("%s: ", cdevname);
- printf("SIZE=%qu ", DIP(dp, di_size));
+ printf("SIZE=%ju ", (uintmax_t)DIP(dp, di_size));
t = DIP(dp, di_mtime);
p = ctime(&t);
printf("MTIME=%12.12s %4.4s ", &p[4], &p[20]);
@@ -572,7 +572,7 @@ void
blkerror(ino_t ino, const char *type, ufs2_daddr_t blk)
{
- pfatal("%lld %s I=%lu", (intmax_t)blk, type, (u_long)ino);
+ pfatal("%jd %s I=%ju", (intmax_t)blk, type, (uintmax_t)ino);
printf("\n");
switch (inoinfo(ino)->ino_state) {
OpenPOWER on IntegriCloud