Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/dev/scsipi Fix compilation error when ATAPI_DEB...



details:   https://anonhg.NetBSD.org/src/rev/3fba0ef3456d
branches:  thorpej_scsipi
changeset: 477287:3fba0ef3456d
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Oct 20 10:14:54 1999 +0000

description:
Fix compilation error when ATAPI_DEBUG_PROBE is defined.

diffstat:

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

diffs (18 lines):

diff -r fc5831e2568a -r 3fba0ef3456d sys/dev/scsipi/atapiconf.c
--- a/sys/dev/scsipi/atapiconf.c        Tue Oct 19 23:34:54 1999 +0000
+++ b/sys/dev/scsipi/atapiconf.c        Wed Oct 20 10:14:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atapiconf.c,v 1.28.2.1 1999/10/19 17:39:26 thorpej Exp $       */
+/*     $NetBSD: atapiconf.c,v 1.28.2.2 1999/10/20 10:14:54 enami Exp $ */
 
 /*
  * Copyright (c) 1996 Manuel Bouyer.  All rights reserved.
@@ -321,7 +321,7 @@
            XS_CTL_POLL|XS_CTL_NOSLEEP, id) == 0) {
 #ifdef ATAPI_DEBUG_PROBE
                printf("%s drive %d: cmdsz 0x%x drqtype 0x%x\n",
-                   atapi->sc_dev.dv_xname, target,
+                   sc->sc_dev.dv_xname, target,
                    id->atap_config & ATAPI_CFG_CMD_MASK,
                    id->atap_config & ATAPI_CFG_DRQ_MASK);
 #endif



Home | Main Index | Thread Index | Old Index