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

This commit is contained in:
peter 2003-12-24 05:24:24 +00:00
parent d6b24acdbf
commit afb40a1dc3

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;