Fix 0 / NULL mixup (this module isn't in LINT!)

This commit is contained in:
Peter Wemm 2003-12-24 05:24:24 +00:00
parent ab99f13b16
commit 191c07211b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123798

View file

@ -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;