summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass1.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-07-30 13:01:25 +0000
committerphk <phk@FreeBSD.org>2002-07-30 13:01:25 +0000
commit86b15117de99802621746d29e72559dfc406c288 (patch)
tree7daf4abe19efa8d3f7664a50af93273566208a45 /sbin/fsck_ffs/pass1.c
parent751506574574dc76e9eaeefade4379d55c7dcd4e (diff)
downloadFreeBSD-src-86b15117de99802621746d29e72559dfc406c288.zip
FreeBSD-src-86b15117de99802621746d29e72559dfc406c288.tar.gz
Warning cleanup.
Format changes by peter
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r--sbin/fsck_ffs/pass1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index 4a7fd54..c1f080f 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -190,7 +190,6 @@ checkinode(ino_t inumber, struct inodesc *idesc)
off_t kernmaxfilesize;
ufs2_daddr_t ndb;
mode_t mode;
- char *symbuf;
int j;
dp = getnextinode(inumber);
@@ -347,8 +346,8 @@ checkinode(ino_t inumber, struct inodesc *idesc)
cmd.value = idesc->id_number;
cmd.size = idesc->id_entryno - DIP(dp, di_blocks);
if (debug)
- printf("adjblkcnt ino %qu amount %ld\n",
- cmd.value, cmd.size);
+ printf("adjblkcnt ino %qu amount %lld\n",
+ cmd.value, (long long)cmd.size);
if (sysctl(adjblkcnt, MIBSIZE, 0, 0,
&cmd, sizeof cmd) == -1)
rwerror("ADJUST INODE BLOCK COUNT", cmd.value);
OpenPOWER on IntegriCloud