diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-04 03:59:43 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-04 03:59:43 +0000 |
commit | 181720c1534f47160478b185bc9faa1de1072982 (patch) | |
tree | 08716c3925f45e319a47ddf45f888f85bfb57bef /sys/dev/ic | |
parent | ce18cfbfcdd459bc7d493bf26ce2c031a479ad05 (diff) |
Fix some misuse of the | operator. In particular | has higher
precedence than ?:
ok guenther@ krw@ miod@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 0350ba29cca..9796229e459 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.200 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: mpi.c,v 1.201 2015/05/04 03:59:42 jsg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -1541,7 +1541,7 @@ mpi_load_xs(struct mpi_ccb *ccb) error = bus_dmamap_load(sc->sc_dmat, dmap, xs->data, xs->datalen, NULL, BUS_DMA_STREAMING | - (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); + ((xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK)); if (error) { printf("%s: error %d loading dmamap\n", DEVNAME(sc), error); return (1); |