diff options
author | phk <phk@FreeBSD.org> | 1997-12-02 21:07:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-12-02 21:07:20 +0000 |
commit | a1bfb618d996ea613b9d640d00950f5ffef739db (patch) | |
tree | d373e61301d1dc027cf0572e25d38f7a9f63450d /sys/scsi/scsi_ioctl.c | |
parent | bf21e6b4e0e85ae08cb5d1f2335da248f52e2d26 (diff) | |
download | FreeBSD-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/scsi_ioctl.c')
-rw-r--r-- | sys/scsi/scsi_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c index 8484a7d..ceafe78 100644 --- a/sys/scsi/scsi_ioctl.c +++ b/sys/scsi/scsi_ioctl.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. *End copyright * - * $Id: scsi_ioctl.c,v 1.25 1997/03/23 06:33:48 bde Exp $ + * $Id: scsi_ioctl.c,v 1.26 1997/09/02 20:06:34 bde Exp $ * * */ @@ -215,7 +215,7 @@ scsistrategy(struct buf *bp) err = scsi_scsi_cmd(sc_link, (struct scsi_generic *)screq->cmd, screq->cmdlen, - (u_char *)bp->b_un.b_addr, + (u_char *)bp->b_data, screq->datalen, 0, /* user must do the retries *//* ignored */ screq->timeout, @@ -314,7 +314,7 @@ struct proc *p, struct scsi_link *sc_link) minphys, &auio); } else { /* if no data, no need to translate it.. */ - bp->b_un.b_addr = 0; + bp->b_data = 0; bp->b_dev = dev; bp->b_flags |= B_BUSY; |