Fix an oversight in some code I added to the last commit.

This commit is contained in:
Matthew N. Dodd 2003-02-08 21:06:03 +00:00
parent 1e30d929a4
commit df79cfe4a6

View File

@ -670,7 +670,7 @@ pcn_attach(dev)
if (sc->pcn_res)
bus_release_resource(dev, PCN_RES, PCN_RID, sc->pcn_res);
if (mtx_initialized(&sc->mtx) != 0)
if (mtx_initialized(&sc->pcn_mtx) != 0)
mtx_destroy(&sc->pcn_mtx);
return(error);