summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-11 18:51:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-11 18:51:07 +0000
commit5fbaaf4b7c02f9c1d977c2a85853d3a015331ac4 (patch)
tree4f7be39b7d5c09617e08112c273d8bc6cb7426d7
parentf493a7fe11e5143e6135cf66c5b03494f590adcf (diff)
incorrect %lld for an int
-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 31cbc0f4bbd..9741f3d5dda 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inode.c,v 1.40 2013/11/03 02:22:07 krw Exp $ */
+/* $OpenBSD: inode.c,v 1.41 2013/11/11 18:51:06 deraadt Exp $ */
/* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */
/*
@@ -239,7 +239,7 @@ chkrange(daddr_t blk, int cnt)
if (cnt > sblock.fs_frag ||
fragnum(&sblock, blk) + cnt > sblock.fs_frag) {
if (debug)
- printf("bad size: blk %lld, offset %lld, size %lld\n",
+ printf("bad size: blk %lld, offset %lld, size %d\n",
(long long)blk, (long long)fragnum(&sblock, blk),
cnt);
return (1);