Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2013 18:39:15 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246945 - head/sys/dev/ath
Message-ID:  <201302181839.r1IIdF7i071110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302181839.r1IIdF7i071110>