summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/setup.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-28 19:23:03 +0000
committerbde <bde@FreeBSD.org>1998-06-28 19:23:03 +0000
commit4af99ce07c5d58e878672e174d267324e1983ba1 (patch)
treefd90e7633102600051bb5cb96340c16c4397670e /sbin/fsck_ffs/setup.c
parente11b471c4253d351c70535d329eedf4df4e8c8f2 (diff)
downloadFreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.zip
FreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-rw-r--r--sbin/fsck_ffs/setup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 308dfd0..25dab92 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -36,7 +36,7 @@
static const char sccsid[] = "@(#)setup.c 8.10 (Berkeley) 5/9/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: setup.c,v 1.11 1998/06/15 07:07:21 charnier Exp $";
#endif /* not lint */
#define DKTYPENAMES
@@ -415,7 +415,8 @@ readsb(listerr)
for ( ; olp < endlp; olp++, nlp++) {
if (*olp == *nlp)
continue;
- printf("offset %d, original %d, alternate %d\n",
+ printf(
+ "offset %d, original %ld, alternate %ld\n",
olp - (long *)&sblock, *olp, *nlp);
}
}
OpenPOWER on IntegriCloud