summaryrefslogtreecommitdiff
path: root/sys/dev/mps/mps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mps/mps.c')
-rw-r--r--sys/dev/mps/mps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c
index 5f183416e5eac..ce24eed1eaa2a 100644
--- a/sys/dev/mps/mps.c
+++ b/sys/dev/mps/mps.c
@@ -1080,8 +1080,8 @@ mps_alloc_queues(struct mps_softc *sc)
*
* These two queues are allocated together for simplicity.
*/
- sc->fqdepth = roundup2((sc->num_replies + 1), 16);
- sc->pqdepth = roundup2((sc->num_replies + 1), 16);
+ sc->fqdepth = roundup2(sc->num_replies + 1, 16);
+ sc->pqdepth = roundup2(sc->num_replies + 1, 16);
fqsize= sc->fqdepth * 4;
pqsize = sc->pqdepth * 8;
qsize = fqsize + pqsize;