use device_xname()

This commit is contained in:
cegger 2009-05-11 17:14:31 +00:00
parent 114be8c5be
commit fcd92f8a6e
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_raid_intel.c,v 1.3 2008/09/16 11:45:30 tron Exp $ */
/* $NetBSD: ata_raid_intel.c,v 1.4 2009/05/11 17:14:31 cegger Exp $ */
/*-
* Copyright (c) 2000-2008 Søren Schmidt <sos@FreeBSD.org>
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata_raid_intel.c,v 1.3 2008/09/16 11:45:30 tron Exp $");
__KERNEL_RCSID(0, "$NetBSD: ata_raid_intel.c,v 1.4 2009/05/11 17:14:31 cegger Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -224,7 +224,7 @@ findvol:
break;
default:
DPRINTF(("%s: unknown Intel MatrixRAID type 0x%02x\n",
sc->sc_dev->dv_xname, map->type));
device_xname(sc->sc_dev), map->type));
error = EINVAL;
goto out;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_raid_jmicron.c,v 1.3 2008/09/15 11:44:50 tron Exp $ */
/* $NetBSD: ata_raid_jmicron.c,v 1.4 2009/05/11 17:14:31 cegger Exp $ */
/*-
* Copyright (c) 2000-2008 Søren Schmidt <sos@FreeBSD.org>
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata_raid_jmicron.c,v 1.3 2008/09/15 11:44:50 tron Exp $");
__KERNEL_RCSID(0, "$NetBSD: ata_raid_jmicron.c,v 1.4 2009/05/11 17:14:31 cegger Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -223,7 +223,7 @@ ata_raid_read_config_jmicron(struct wd_softc *sc)
break;
default:
DPRINTF(("%s: unknown JMicron RAID type 0x%02x\n",
sc->sc_dev->dv_xname, info->type));
device_xname(sc->sc_dev), info->type));
error = EINVAL;
goto out;
}