diff options
-rw-r--r-- | sys/pci/if_pcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c index 8b539cd..1bb5d18 100644 --- a/sys/pci/if_pcn.c +++ b/sys/pci/if_pcn.c @@ -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); |