Pass the correct pointer to atapibusprint().
This commit is contained in:
parent
163c9dd7c1
commit
750c07de04
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: atapiconf.c,v 1.40 2001/05/14 20:35:27 bouyer Exp $ */
|
||||
/* $NetBSD: atapiconf.c,v 1.41 2001/09/13 06:27:23 enami Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Manuel Bouyer. All rights reserved.
|
||||
|
@ -318,7 +318,7 @@ atapi_probe_device(sc, target, periph, sa)
|
|||
return config_attach(&sc->sc_dev, cf, sa,
|
||||
atapibusprint);
|
||||
} else {
|
||||
atapibusprint(&sa, sc->sc_dev.dv_xname);
|
||||
atapibusprint(sa, sc->sc_dev.dv_xname);
|
||||
printf(" not configured\n");
|
||||
free(periph, M_DEVBUF);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue