Sync with sys/i386/isa/wd.c revision 1.181.

This commit is contained in:
kato 1998-12-17 08:42:10 +00:00
parent 57045efb95
commit 259f4291d0

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
* $Id: wd.c,v 1.65 1998/10/22 05:58:45 bde Exp $
* $Id: wd.c,v 1.66 1998/11/16 08:13:54 kato Exp $
*/
/* TODO:
@ -2483,11 +2483,11 @@ static void
wderror(struct buf *bp, struct disk *du, char *mesg)
{
if (bp == NULL)
printf("wd%d: %s:\n", du->dk_lunit, mesg);
printf("wd%d: %s", du->dk_lunit, mesg);
else
diskerr(bp, "wd", mesg, LOG_PRINTF, du->dk_skip,
dsgetlabel(bp->b_dev, du->dk_slices));
printf("wd%d: status %b error %b\n", du->dk_lunit,
printf(" (status %b error %b)\n",
du->dk_status, WDCS_BITS, du->dk_error, WDERR_BITS);
}