mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Finish the previous change. The device name got lost in diskerr().
This commit is contained in:
parent
c4ed5a07a5
commit
ec00834c18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7018
@ -42,7 +42,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
|
||||
* $Id: ufs_disksubr.c,v 1.9 1995/02/16 14:47:38 bde Exp $
|
||||
* $Id: ufs_disksubr.c,v 1.10 1995/02/22 22:46:48 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -629,7 +629,7 @@ diskerr(bp, dname, what, pri, blkdone, lp)
|
||||
pr = addlog;
|
||||
} else
|
||||
pr = printf;
|
||||
sname = dsname("", unit, slice, part, partname);
|
||||
sname = dsname(dname, unit, slice, part, partname);
|
||||
(*pr)("%s%s: %s %sing fsbn ", sname, partname, what,
|
||||
bp->b_flags & B_READ ? "read" : "writ");
|
||||
sn = bp->b_blkno;
|
||||
|
@ -42,7 +42,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
|
||||
* $Id: ufs_disksubr.c,v 1.9 1995/02/16 14:47:38 bde Exp $
|
||||
* $Id: ufs_disksubr.c,v 1.10 1995/02/22 22:46:48 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -629,7 +629,7 @@ diskerr(bp, dname, what, pri, blkdone, lp)
|
||||
pr = addlog;
|
||||
} else
|
||||
pr = printf;
|
||||
sname = dsname("", unit, slice, part, partname);
|
||||
sname = dsname(dname, unit, slice, part, partname);
|
||||
(*pr)("%s%s: %s %sing fsbn ", sname, partname, what,
|
||||
bp->b_flags & B_READ ? "read" : "writ");
|
||||
sn = bp->b_blkno;
|
||||
|
Loading…
Reference in New Issue
Block a user