diff options
author | scottl <scottl@FreeBSD.org> | 2009-07-20 03:59:00 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2009-07-20 03:59:00 +0000 |
commit | 82903c08b736e0ede1e9881f86aed8ebc2e50762 (patch) | |
tree | d617d08ae36a5fc644ac04fbe7a6519a5c9de703 /sys | |
parent | 6e8105e16a0ad073971ede82d5e20ff84a2a1035 (diff) | |
download | FreeBSD-src-82903c08b736e0ede1e9881f86aed8ebc2e50762.zip FreeBSD-src-82903c08b736e0ede1e9881f86aed8ebc2e50762.tar.gz |
Fix an apparently harmless typo.
Approved by: re
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ciss/ciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index c028905..8c9ef5a 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2687,7 +2687,7 @@ ciss_request_map_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) if (cr->cr_flags & CISS_REQ_DATAOUT) bus_dmamap_sync(sc->ciss_buffer_dmat, cr->cr_datamap, BUS_DMASYNC_PREWRITE); - if (nseg == 1) + if (nseg == 0) cr->cr_sg_tag = CISS_SG_NONE; else if (nseg == 1) cr->cr_sg_tag = CISS_SG_1; |