[Bug 206758] [PATCH] Uninitalized variable in atrun

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 30 15:23:48 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206758

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
Created attachment 166306
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166306&action=edit
Fix ncpu type

I believe that you found the issue, but your fix is not right.  E.g., the
problem of invalid ncpu value would be still present on the big-endian LP64
machines.

The fix is to use int type, consistent with the type expected by the hw.ncpu
MIB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list