summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
committerphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
commita1bfb618d996ea613b9d640d00950f5ffef739db (patch)
treed373e61301d1dc027cf0572e25d38f7a9f63450d /sys/scsi/sd.c
parentbf21e6b4e0e85ae08cb5d1f2335da248f52e2d26 (diff)
downloadFreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.zip
FreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.tar.gz
In all such uses of struct buf: 's/b_un.b_addr/b_data/g'
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 6252275..b07cbbb 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -15,7 +15,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.113 1997/11/07 08:53:32 phk Exp $
+ * $Id: sd.c,v 1.114 1997/11/23 11:30:42 bde Exp $
*/
#include "opt_bounce.h"
@@ -614,7 +614,7 @@ sdstart(u_int32_t unit, u_int32_t flags)
if (scsi_scsi_cmd(sc_link,
(struct scsi_generic *) &cmd,
sizeof(cmd),
- (u_char *) bp->b_un.b_addr,
+ (u_char *) bp->b_data,
bp->b_bcount,
SD_RETRIES,
10000,
OpenPOWER on IntegriCloud