aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fatm
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-12-24 05:24:24 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-12-24 05:24:24 +0000
commit191c07211b1d458d203f666d90763ef0d0b3b585 (patch)
treeefb834028c5c6eb7947f42db5e7eef64b7dbe949 /sys/dev/fatm
parentab99f13b167c938dddc12564cc1f7ae8542067c7 (diff)
Notes
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 258e8a7a3ade..64304f6a13c0 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;