diff options
Diffstat (limited to 'sys/dev/ata/atapi-fd.c')
-rw-r--r-- | sys/dev/ata/atapi-fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index 6588684..c0a8cc4 100644 --- a/sys/dev/ata/atapi-fd.c +++ b/sys/dev/ata/atapi-fd.c @@ -360,7 +360,7 @@ afd_start(struct atapi_softc *atp) static int32_t afd_partial_done(struct atapi_request *request) { - struct buf *bp = request->bp; + struct buf *bp = request->driver; if (request->error) { bp->b_error = request->error; @@ -373,7 +373,7 @@ afd_partial_done(struct atapi_request *request) static int32_t afd_done(struct atapi_request *request) { - struct buf *bp = request->bp; + struct buf *bp = request->driver; struct afd_softc *fdp = request->device->driver; if (request->error || (bp->b_flags & B_ERROR)) { |