diff options
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_inline.h b/sys/dev/aic7xxx/aic7xxx_inline.h index 8f6d2ba..77f32c1 100644 --- a/sys/dev/aic7xxx/aic7xxx_inline.h +++ b/sys/dev/aic7xxx/aic7xxx_inline.h @@ -308,7 +308,7 @@ ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) */ q_hscb = ahc->next_queued_scb->hscb; saved_tag = q_hscb->tag; - memcpy(q_hscb, scb->hscb, 32); + memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); q_hscb->tag = saved_tag; q_hscb->next = scb->hscb->tag; |