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/a4dfa3aa727b
branches:  trunk
changeset: 952240:a4dfa3aa727b
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 b6e1321f8dd8 -r a4dfa3aa727b 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