Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic use the correct variable in a debug printf().



details:   https://anonhg.NetBSD.org/src/rev/a25932a0be79
branches:  trunk
changeset: 487285:a25932a0be79
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Jun 05 21:47:25 2000 +0000

description:
use the correct variable in a debug printf().

diffstat:

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

diffs (18 lines):

diff -r 3f58aff8e46b -r a25932a0be79 sys/dev/ic/siop.c
--- a/sys/dev/ic/siop.c Mon Jun 05 21:47:10 2000 +0000
+++ b/sys/dev/ic/siop.c Mon Jun 05 21:47:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.17 2000/05/25 10:10:56 bouyer Exp $ */
+/*     $NetBSD: siop.c,v 1.18 2000/06/05 21:47:25 bouyer Exp $ */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -217,7 +217,7 @@
 #ifdef DEBUG
        printf("%s: script size = %d, PHY addr=0x%x, VIRT=%p nslots %d\n",
            sc->sc_dev.dv_xname, (int)sizeof(siop_script),
-           sc->sc_ramaddr, sc->sc_script, sc->sc_nshedslots);
+           sc->sc_scriptaddr, sc->sc_script, sc->sc_nshedslots);
 #endif
 
        sc->sc_link.adapter_softc = sc;



Home | Main Index | Thread Index | Old Index