mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Fix an incorrect sizeof()
PR: kern/176238 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
parent
1b9c9ab29a
commit
feb043c69c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246945
@ -168,7 +168,7 @@ if_ath_alq_post_intr(struct if_ath_alq *alq, uint32_t status,
|
||||
intr.intr_state[i] = htobe32(state[i]);
|
||||
intr.intr_syncstate = htobe32(sync_state);
|
||||
|
||||
if_ath_alq_post(alq, ATH_ALQ_INTR_STATUS, sizeof(&intr),
|
||||
if_ath_alq_post(alq, ATH_ALQ_INTR_STATUS, sizeof(intr),
|
||||
(const char *) &intr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user