diff options
author | Bruce Evans <bde@FreeBSD.org> | 1999-05-13 06:27:51 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1999-05-13 06:27:51 +0000 |
commit | 22b6b1cd1e1367f1a9af8834e82365f35973eb03 (patch) | |
tree | 192781705af94d6bed309412311398f8da06b5d9 /sys/gnu | |
parent | 07f6cad7a0487163300ddde8cacd285069dfad19 (diff) | |
download | src-22b6b1cd1e1367f1a9af8834e82365f35973eb03.tar.gz src-22b6b1cd1e1367f1a9af8834e82365f35973eb03.zip |
Fixed printing of a dev_t in a panic message. Fixed the function name
in this message.
Notes
Notes:
svn path=/head/; revision=47099
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_alloc.c | 4 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_alloc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c index 7ea77c7d0409..9a59630d0545 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); */ diff --git a/sys/gnu/fs/ext2fs/ext2_alloc.c b/sys/gnu/fs/ext2fs/ext2_alloc.c index 7ea77c7d0409..9a59630d0545 100644 --- a/sys/gnu/fs/ext2fs/ext2_alloc.c +++ b/sys/gnu/fs/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); */ |