diff options
author | bde <bde@FreeBSD.org> | 1998-06-28 19:23:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-28 19:23:03 +0000 |
commit | 4af99ce07c5d58e878672e174d267324e1983ba1 (patch) | |
tree | fd90e7633102600051bb5cb96340c16c4397670e /sbin/fsck/setup.c | |
parent | e11b471c4253d351c70535d329eedf4df4e8c8f2 (diff) | |
download | FreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.zip FreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sbin/fsck/setup.c')
-rw-r--r-- | sbin/fsck/setup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsck/setup.c b/sbin/fsck/setup.c index 308dfd0..25dab92 100644 --- a/sbin/fsck/setup.c +++ b/sbin/fsck/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); } } |