summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-05-13 06:27:51 +0000
committerbde <bde@FreeBSD.org>1999-05-13 06:27:51 +0000
commit465fdca68b905f6c8c8c6b97b496f588db3894d6 (patch)
treeab85c55a6000fe33aa8508d507d937ceee86cc4f /sys/gnu/ext2fs
parent39c8a35bcf09d7665371e8ccb607213f1ceb11a0 (diff)
downloadFreeBSD-src-465fdca68b905f6c8c8c6b97b496f588db3894d6.zip
FreeBSD-src-465fdca68b905f6c8c8c6b97b496f588db3894d6.tar.gz
Fixed printing of a dev_t in a panic message. Fixed the function name
in this message.
Diffstat (limited to 'sys/gnu/ext2fs')
-rw-r--r--sys/gnu/ext2fs/ext2_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c
index 7ea77c7..9a59630 100644
--- a/sys/gnu/ext2fs/ext2_alloc.c
+++ b/sys/gnu/ext2fs/ext2_alloc.c
@@ -518,8 +518,8 @@ ext2_vfree(pvp, ino, mode)
pip = VTOI(pvp);
fs = pip->i_e2fs;
if ((u_int)ino >= fs->s_inodes_per_group * fs->s_groups_count)
- panic("ifree: range: dev = 0x%x, ino = %d, fs = %s",
- pip->i_dev, ino, fs->fs_fsmnt);
+ panic("ext2_vfree: range: dev = (%d, %d), ino = %d, fs = %s",
+ major(pip->i_dev), minor(pip->i_dev), ino, fs->fs_fsmnt);
/* ext2_debug("ext2_vfree (%d, %d) called\n", pip->i_number, mode);
*/
OpenPOWER on IntegriCloud