Fix argument order in a call to mtx_init.

MFC after:	1 week
This commit is contained in:
Matt Jacob 2009-12-17 00:21:12 +00:00
parent 8ffab8645b
commit ab429a9218

View File

@ -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) {