svn commit: r246945 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Feb 18 18:39:15 UTC 2013
Author: adrian
Date: Mon Feb 18 18:39:15 2013
New Revision: 246945
URL: http://svnweb.freebsd.org/changeset/base/246945
Log:
Fix an incorrect sizeof()
PR: kern/176238
Submitted by: Christoph Mallon <christoph.mallon at gmx.de>
Modified:
head/sys/dev/ath/if_ath_alq.h
Modified: head/sys/dev/ath/if_ath_alq.h
==============================================================================
--- head/sys/dev/ath/if_ath_alq.h Mon Feb 18 17:55:27 2013 (r246944)
+++ head/sys/dev/ath/if_ath_alq.h Mon Feb 18 18:39:15 2013 (r246945)
@@ -168,7 +168,7 @@ if_ath_alq_post_intr(struct if_ath_alq *
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);
}
More information about the svn-src-all
mailing list