diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-02-08 21:06:03 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-02-08 21:06:03 +0000 |
commit | 3e2b39dbdde3328ec62980172f2c8632a32ac31c (patch) | |
tree | aa61c02ffee519dc8c25c72896b82c1d8031f206 /sys/pci | |
parent | b3bda39ac232aa1d834967730cf614badafe0378 (diff) | |
download | FreeBSD-src-3e2b39dbdde3328ec62980172f2c8632a32ac31c.zip FreeBSD-src-3e2b39dbdde3328ec62980172f2c8632a32ac31c.tar.gz |
Fix an oversight in some code I added to the last commit.
Diffstat (limited to 'sys/pci')
-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); |