diff options
| author | cube <cube@NetBSD.org> | 2008-03-24 14:44:26 +0000 |
|---|---|---|
| committer | cube <cube@NetBSD.org> | 2008-03-24 14:44:26 +0000 |
| commit | b1be269fbd6a5ce8dc0eedc74182fd4b677d4e4d (patch) | |
| tree | 7b0f2e10be36e833996b95d6eb7cd2250789182b /sys/dev/usb | |
| parent | b2b4fb68be99bbf186593f9ff3914dc1059b8c2c (diff) | |
Split device_t and softc for atapibus(4).
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/umass_scsipi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/umass_scsipi.c b/sys/dev/usb/umass_scsipi.c index 8058b6d1bbf..a7eb15143a4 100644 --- a/sys/dev/usb/umass_scsipi.c +++ b/sys/dev/usb/umass_scsipi.c @@ -1,4 +1,4 @@ -/* $NetBSD: umass_scsipi.c,v 1.30 2007/03/04 06:02:49 christos Exp $ */ +/* $NetBSD: umass_scsipi.c,v 1.31 2008/03/24 14:44:26 cube Exp $ */ /* * Copyright (c) 2001, 2003 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.30 2007/03/04 06:02:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.31 2008/03/24 14:44:26 cube Exp $"); #include "atapibus.h" #include "scsibus.h" @@ -519,8 +519,8 @@ umass_atapi_probe_device(struct atapibus_softc *atapi, int target) periph = scsipi_alloc_periph(M_NOWAIT); if (periph == NULL) { - printf("%s: can't allocate link for drive %d\n", - atapi->sc_dev.dv_xname, target); + aprint_error_dev(atapi->sc_dev, + "can't allocate link for drive %d\n", target); return; } |
