diff options
author | mjacob <mjacob@FreeBSD.org> | 2009-12-17 00:21:12 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2009-12-17 00:21:12 +0000 |
commit | a2f49b89b70430a9e65b73f6c6446b96d30b33b1 (patch) | |
tree | cbde2e680c9dc6af1eed1765343caecd0662f6f5 | |
parent | 747567aeb766cd7c7c2b03680b98803b81ebcae0 (diff) | |
download | FreeBSD-src-a2f49b89b70430a9e65b73f6c6446b96d30b33b1.zip FreeBSD-src-a2f49b89b70430a9e65b73f6c6446b96d30b33b1.tar.gz |
Fix argument order in a call to mtx_init.
MFC after: 1 week
-rw-r--r-- | sys/dev/ips/ips_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c index 9ccaf37..9781087 100644 --- a/sys/dev/ips/ips_pci.c +++ b/sys/dev/ips/ips_pci.c @@ -154,7 +154,7 @@ static int ips_pci_attach(device_t dev) } sc->ips_ich.ich_func = ips_intrhook; sc->ips_ich.ich_arg = sc; - mtx_init(&sc->queue_mtx, "IPS bioqueue lock", MTX_DEF, 0); + mtx_init(&sc->queue_mtx, "IPS bioqueue lock", NULL, MTX_DEF); sema_init(&sc->cmd_sema, 0, "IPS Command Semaphore"); bioq_init(&sc->queue); if (config_intrhook_establish(&sc->ips_ich) != 0) { |