summaryrefslogtreecommitdiffstats
path: root/sys/dev/fatm
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-24 05:24:24 +0000
committerpeter <peter@FreeBSD.org>2003-12-24 05:24:24 +0000
commit23fa43890eddf4f125652d480744b95696a4efe9 (patch)
treeefb834028c5c6eb7947f42db5e7eef64b7dbe949 /sys/dev/fatm
parentad6b2985b6dc8d17d648d92ede8a545554405592 (diff)
downloadFreeBSD-src-23fa43890eddf4f125652d480744b95696a4efe9.zip
FreeBSD-src-23fa43890eddf4f125652d480744b95696a4efe9.tar.gz
Fix 0 / NULL mixup (this module isn't in LINT!)
Diffstat (limited to 'sys/dev/fatm')
-rw-r--r--sys/dev/fatm/if_fatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c
index 258e8a7..64304f6 100644
--- a/sys/dev/fatm/if_fatm.c
+++ b/sys/dev/fatm/if_fatm.c
@@ -2282,7 +2282,7 @@ fatm_open_vcc(struct fatm_softc *sc, struct atmio_openvcc *op)
sc->open_vccs++;
error = fatm_load_vc(sc, vc);
- if (error != NULL) {
+ if (error != 0) {
sc->vccs[op->param.vci] = NULL;
sc->open_vccs--;
goto done;
OpenPOWER on IntegriCloud