summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-03-01 23:18:20 +0000
committerdelphij <delphij@FreeBSD.org>2013-03-01 23:18:20 +0000
commit3201c3850bb49872c01f455ac4221c806576b0b8 (patch)
treef542c73b6b4073389a8ccd668ca608fad50718be
parentcfe29a2eeb5894e142b69de584de6a99e5a432c9 (diff)
downloadFreeBSD-src-3201c3850bb49872c01f455ac4221c806576b0b8.zip
FreeBSD-src-3201c3850bb49872c01f455ac4221c806576b0b8.tar.gz
Fix a typo in mfi_stp_cmd() that would give wrong assignment.
Submitted by: Sascha Wildner <saw online de> Obtained from: DragonFly rev 0dc98fff2206d7bb78ce5e07ac34d6954e4bd96a MFC after: 3 days
-rw-r--r--sys/dev/mfi/mfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index e2401f6..cf2d505 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -2997,7 +2997,7 @@ mfi_stp_cmd(struct mfi_softc *sc, struct mfi_command *cm,caddr_t arg)
cm->cm_frame->stp.sgl.sg64[i].len =
ioc->mfi_sgl[i].iov_len;
} else {
- cm->cm_frame->stp.sgl.sg32[i].len =
+ cm->cm_frame->stp.sgl.sg32[i].addr =
kern_sge[i].phys_addr;
cm->cm_frame->stp.sgl.sg32[i].len =
ioc->mfi_sgl[i].iov_len;
OpenPOWER on IntegriCloud