diff options
author | julian <julian@FreeBSD.org> | 2002-04-30 15:50:09 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-04-30 15:50:09 +0000 |
commit | b393629971032976b771bf25e7d7cb84b4424769 (patch) | |
tree | 6ab9381f92e07406d145494cda62627dcd8b2b67 /sys | |
parent | 1fe12f5d34a60db3b2ab47a6b4bae7920e04748a (diff) | |
download | FreeBSD-src-b393629971032976b771bf25e7d7cb84b4424769.zip FreeBSD-src-b393629971032976b771bf25e7d7cb84b4424769.tar.gz |
Add the extra argument to mtx_init()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/my/if_my.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index c8484a4..0d7b98d 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -857,7 +857,8 @@ my_attach(device_t dev) } bzero(sc, sizeof(struct my_softc)); - mtx_init(&sc->my_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->my_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); MY_LOCK(sc); /* |