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/0ccd3b46ddd1
branches:  trunk
changeset: 947063:0ccd3b46ddd1
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 d624bb85c4d1 -r 0ccd3b46ddd1 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