summaryrefslogtreecommitdiff
path: root/sys/dev/ic/fxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/fxp.c')
-rw-r--r--sys/dev/ic/fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index 8abe227fc22..9a55d7a5868 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.107 2010/09/07 16:21:42 deraadt Exp $ */
+/* $OpenBSD: fxp.c,v 1.108 2011/04/07 15:30:16 miod Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -1832,7 +1832,7 @@ fxp_load_ucode(struct fxp_softc *sc)
for (uc = ucode_table; uc->revision != 0; uc++)
if (sc->sc_revision == uc->revision)
break;
- if (uc->revision == NULL)
+ if (uc->revision == 0)
return; /* no ucode for this chip is found */
error = loadfirmware(uc->uname, (u_char **)&ucode_buf, &ucode_len);