diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1999-08-23 20:35:21 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1999-08-23 20:35:21 +0000 |
| commit | d9183205179005f7582d41a23d4588b0b1140298 (patch) | |
| tree | cb0c87b1224a17a7657b367fe1937277ed20037a /sys/gnu/ext2fs | |
| parent | 80e6247e720f131335d1f045e88f9a313e05cc81 (diff) | |
Notes
Diffstat (limited to 'sys/gnu/ext2fs')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c index 9a59630d0545..8fa8f0550f85 100644 --- a/sys/gnu/ext2fs/ext2_alloc.c +++ b/sys/gnu/ext2fs/ext2_alloc.c @@ -113,8 +113,8 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp) fs = ip->i_e2fs; #if DIAGNOSTIC if ((u_int)size > fs->s_blocksize || blkoff(fs, size) != 0) { - printf("dev = 0x%lx, bsize = %lu, size = %d, fs = %s\n", - (u_long)ip->i_dev, fs->s_blocksize, size, fs->fs_fsmnt); + printf("dev = %s, bsize = %lu, size = %d, fs = %s\n", + devtoname(ip->i_dev), fs->s_blocksize, size, fs->fs_fsmnt); panic("ext2_alloc: bad size"); } if (cred == NOCRED) |
