diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-11 19:26:53 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-11 19:26:53 +0000 |
commit | 0e1db07cf9044a3bbfd713ff85528c129ed754ba (patch) | |
tree | 461a2b653690a240b421c8d7ee556596a41c3c5b /sys/ufs/ffs | |
parent | e3b120088fc0412693845ad0df34cf1d3551744d (diff) | |
download | FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.zip FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.tar.gz |
Fix -Wformat warnings from LINT kernel.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 6af2d93..1e9ce49 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.8 (Berkeley) 2/21/94 - * $Id: ffs_alloc.c,v 1.11 1995/03/19 14:29:11 davidg Exp $ + * $Id: ffs_alloc.c,v 1.12 1995/03/26 23:29:09 davidg Exp $ */ #include <sys/param.h> @@ -176,8 +176,10 @@ ffs_realloccg(ip, lbprev, bpref, osize, nsize, cred, bpp) if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 || (u_int)nsize > fs->fs_bsize || fragoff(fs, nsize) != 0) { printf( - "dev = 0x%lx, bsize = %d, osize = %d, nsize = %d, fs = %s\n", - (u_long)ip->i_dev, fs->fs_bsize, osize, nsize, fs->fs_fsmnt); + "dev = 0x%lx, bsize = %ld, osize = %d, " + "nsize = %d, fs = %s\n", + (u_long)ip->i_dev, fs->fs_bsize, osize, + nsize, fs->fs_fsmnt); panic("ffs_realloccg: bad size"); } if (cred == NOCRED) |