cvs commit: src/sbin/sysctl sysctl.c

Nate Lawson nate at root.org
Wed Aug 16 03:35:04 UTC 2006


Ruslan Ermilov wrote:
> ru          2006-08-15 13:32:40 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sbin/sysctl          sysctl.c 
>   Log:
>   Fix printing of integer Kelvins broken in rev. 1.71, which is
>   fatal on sizeof(int) != sizeof(long) systems (such as amd64).
>   
>   MFC after:      1 day
>   
>   Revision  Changes    Path
>   1.73      +3 -3      src/sbin/sysctl/sysctl.c

Thanks for the fix.  Note that 1.71 actually unified on the wrong 
behavior (long) instead of int and before the original code still had a bug.

-- 
Nate



More information about the cvs-all mailing list