diff options
author | peter <peter@FreeBSD.org> | 2003-12-24 05:24:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-24 05:24:24 +0000 |
commit | 23fa43890eddf4f125652d480744b95696a4efe9 (patch) | |
tree | efb834028c5c6eb7947f42db5e7eef64b7dbe949 /sys/dev/fatm | |
parent | ad6b2985b6dc8d17d648d92ede8a545554405592 (diff) | |
download | FreeBSD-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.c | 2 |
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; |