aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vx/if_vx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vx/if_vx.c')
-rw-r--r--sys/dev/vx/if_vx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index 08d84a64f286..a1ba239a7b9e 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -350,7 +350,7 @@ vx_setlink(struct vx_softc *sc)
*/
i = sc->vx_connector; /* default in EEPROM */
reason = "default";
- warning = 0;
+ warning = NULL;
if (ifp->if_flags & IFF_LINK0) {
if (sc->vx_connectors & conn_tab[CONNECTOR_AUI].bit) {
@@ -729,7 +729,7 @@ again:
/* Pull packet off interface. */
m = vx_get(sc, len);
- if (m == 0) {
+ if (m == NULL) {
if_inc_counter(ifp, IFCOUNTER_IERRORS, 1);
goto abort;
}