Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/cpuctl/arch



Module Name:    src
Committed By:   chris
Date:           Thu May 15 23:31:56 UTC 2008

Modified Files:
        src/usr.sbin/cpuctl/arch: i386.c

Log Message:
Fix two sizeof(__arraycount()) to not use sizeof when looking up the size
of the array.

This fixes a crash when run on amd phenom under amd64.

Issue reported and inital patch by Paul Goyette.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/usr.sbin/cpuctl/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index