diff options
| author | Paul Saab <ps@FreeBSD.org> | 2005-07-29 01:53:45 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2005-07-29 01:53:45 +0000 |
| commit | 6c9f6695fd6f4ef12359cd2beccc877759bb8b5c (patch) | |
| tree | 2950416cb65c066b789a2570fa173ed1972ba82e /sys/dev/amr | |
| parent | 8c61487b21a22b5bb9422b89eefa605ff7bff6dc (diff) | |
Notes
Diffstat (limited to 'sys/dev/amr')
| -rw-r--r-- | sys/dev/amr/amr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index a3bd999a9471e..0f9c4e360c1c2 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -878,13 +878,13 @@ amr_startio(struct amr_softc *sc) static void amr_completeio(struct amr_command *ac) { - struct amr_softc *sc = ac->ac_sc; + struct amrd_softc *sc = ac->ac_bio->bio_disk->d_drv1; if (ac->ac_status != AMR_STATUS_SUCCESS) { /* could be more verbose here? */ ac->ac_bio->bio_error = EIO; ac->ac_bio->bio_flags |= BIO_ERROR; - device_printf(sc->amr_dev, "I/O error - 0x%x\n", ac->ac_status); + device_printf(sc->amrd_dev, "I/O error - 0x%x\n", ac->ac_status); /* amr_printcommand(ac);*/ } amrd_intr(ac->ac_bio); |
