Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Pass the correct pointer to atapibusprint().



details:   https://anonhg.NetBSD.org/src/rev/618ba107fd49
branches:  trunk
changeset: 514884:618ba107fd49
user:      enami <enami%NetBSD.org@localhost>
date:      Thu Sep 13 06:27:23 2001 +0000

description:
Pass the correct pointer to atapibusprint().

diffstat:

 sys/dev/scsipi/atapiconf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2d49f0de4e88 -r 618ba107fd49 sys/dev/scsipi/atapiconf.c
--- a/sys/dev/scsipi/atapiconf.c        Thu Sep 13 05:22:16 2001 +0000
+++ b/sys/dev/scsipi/atapiconf.c        Thu Sep 13 06:27:23 2001 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index