summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_pcn.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-02-08 21:06:03 +0000
committermdodd <mdodd@FreeBSD.org>2003-02-08 21:06:03 +0000
commit3e2b39dbdde3328ec62980172f2c8632a32ac31c (patch)
treeaa61c02ffee519dc8c25c72896b82c1d8031f206 /sys/pci/if_pcn.c
parentb3bda39ac232aa1d834967730cf614badafe0378 (diff)
downloadFreeBSD-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/if_pcn.c')
-rw-r--r--sys/pci/if_pcn.c2
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);
OpenPOWER on IntegriCloud