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

This commit is contained in:
mdodd 2003-02-08 21:06:03 +00:00
parent b3bda39ac2
commit 3e2b39dbdd

View File

@ -670,7 +670,7 @@ fail:
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);