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.mal...@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);
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to