From b1be269fbd6a5ce8dc0eedc74182fd4b677d4e4d Mon Sep 17 00:00:00 2001 From: cube Date: Mon, 24 Mar 2008 14:44:26 +0000 Subject: Split device_t and softc for atapibus(4). --- sys/dev/usb/umass_scsipi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/usb') 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 -__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; } -- cgit