Fix the debugging macro. The struct ifnet isn't embedded in softc
anymore - instead we have a pointer in the softc to it. Use that instead to call if_printf(). Approved by: re
This commit is contained in:
parent
2c87a19e7a
commit
2e7d71c520
@ -590,7 +590,7 @@ struct hatm_softc {
|
||||
#ifdef HATM_DEBUG
|
||||
#define DBG(SC, FL, PRINT) do { \
|
||||
if((SC)->debug & DBG_##FL) { \
|
||||
if_printf(&(SC)->ifatm.ifnet, "%s: ", __func__); \
|
||||
if_printf((SC)->ifp, "%s: ", __func__); \
|
||||
printf PRINT; \
|
||||
printf("\n"); \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user