Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2009 16:08:21 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196933 - head/sys/dev/ath
Message-ID:  <200909071608.n87G8Lqq019727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Mon Sep  7 16:08:21 2009
New Revision: 196933
URL: http://svn.freebsd.org/changeset/base/196933

Log:
  correct typo that was a noop on 32-bit machines but a bug on 64-bit machines
  
  Submitted by:	phk

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Mon Sep  7 16:00:33 2009	(r196932)
+++ head/sys/dev/ath/if_ath.c	Mon Sep  7 16:08:21 2009	(r196933)
@@ -1452,7 +1452,7 @@ ath_hal_gethangstate(struct ath_hal *ah,
 	uint32_t rsize;
 	void *sp;
 
-	if (!ath_hal_getdiagstate(ah, 32, &mask, sizeof(&mask), &sp, &rsize))
+	if (!ath_hal_getdiagstate(ah, 32, &mask, sizeof(mask), &sp, &rsize))
 		return 0;
 	KASSERT(rsize == sizeof(uint32_t), ("resultsize %u", rsize));
 	*hangs = *(uint32_t *)sp;



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