diff options
author | harti <harti@FreeBSD.org> | 2005-06-22 06:42:03 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-06-22 06:42:03 +0000 |
commit | 0fca1a44023afcc9e6793cd9476dde654321d25d (patch) | |
tree | cfc8b663ee9df600dfbb36a752cca44054514447 /sys/dev/hatm | |
parent | 2628b26a5edabadc373f8e3e63d70dbf449fc99c (diff) | |
download | FreeBSD-src-0fca1a44023afcc9e6793cd9476dde654321d25d.zip FreeBSD-src-0fca1a44023afcc9e6793cd9476dde654321d25d.tar.gz |
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
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r-- | sys/dev/hatm/if_hatmvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hatm/if_hatmvar.h b/sys/dev/hatm/if_hatmvar.h index 9edadc3..d19fd0e 100644 --- a/sys/dev/hatm/if_hatmvar.h +++ b/sys/dev/hatm/if_hatmvar.h @@ -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"); \ } \ |