NetBSD-Bugs archive

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

lib/51518: inconsistent values of CPUSTATES in /usr/include



>Number:         51518
>Category:       lib
>Synopsis:       inconsistent values of CPUSTATES in /usr/include
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 30 06:55:00 +0000 2016
>Originator:     David A. Holland
>Release:        NetBSD 7.99.36 (20160905)
>Organization:
>Environment:
System: 
Architecture: x86_64
Machine: amd64
>Description:

   % grep CPUSTATES lib/librpcsvc/rstat.x sys/sys/sched.h 
   lib/librpcsvc/rstat.x:const CPUSTATES = 4;
   sys/sys/sched.h:#define CPUSTATES       5

(rstat.x ultimately produces /usr/include/rpcsvc/rstat.h)

This probably isn't good as it's used as an array size in both
interfaces.

>How-To-Repeat:

>Fix:

burn down sunrpc?



Home | Main Index | Thread Index | Old Index