Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/dev/pci Fix compilation with debugging enabled.



details:   https://anonhg.NetBSD.org/src-all/rev/488c951b61d5
branches:  trunk
changeset: 986149:488c951b61d5
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Thu Oct 08 20:27:33 2020 +0200

description:
Fix compilation with debugging enabled.

diffstat:

 sys/dev/pci/if_iwn.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 94b022d33496 -r 488c951b61d5 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Thu Oct 08 20:26:54 2020 +0200
+++ b/sys/dev/pci/if_iwn.c      Thu Oct 08 20:27:33 2020 +0200
@@ -3214,7 +3214,7 @@
        size_t pktlen = m->m_pkthdr.len;
         bool mcast = (m->m_flags & M_MCAST) != 0;
 
-       DPRINTFN(DBG_FN, ("%s: %s\n",device_xname(sc->sc_dev), __func__));
+       DPRINTFN(DBG_FN, ("%s: %s\n",vap->iv_ic->ic_name, __func__));
 
        s = splnet();
 



Home | Main Index | Thread Index | Old Index