diff options
author | adrian <adrian@FreeBSD.org> | 2013-02-18 18:39:15 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-02-18 18:39:15 +0000 |
commit | 3d5fb5a4589520eac63917b8b8720afc586ec7d5 (patch) | |
tree | b525cfda9198fd0273a0073a6854184b9fa48762 | |
parent | 5d87c6bca97ae2e5ac7b6072cf8639c9b0adfc3f (diff) | |
download | FreeBSD-src-3d5fb5a4589520eac63917b8b8720afc586ec7d5.zip FreeBSD-src-3d5fb5a4589520eac63917b8b8720afc586ec7d5.tar.gz |
Fix an incorrect sizeof()
PR: kern/176238
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
-rw-r--r-- | sys/dev/ath/if_ath_alq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_alq.h b/sys/dev/ath/if_ath_alq.h index 52a022d..541f2d7 100644 --- a/sys/dev/ath/if_ath_alq.h +++ b/sys/dev/ath/if_ath_alq.h @@ -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); } |