O.K., I finally tracked this down.... am not quite sure how bug reporting
works these days, can someone give me a pointer ? Anyway, the issue was
using int instead of long for cpu_states in loadave.c, so the following
one line patch fixes it:

-pete.

--- loadave.c.orig      2008-09-04 17:07:31.000000000 +0100
+++ loadave.c   2008-09-04 17:09:20.000000000 +0100
@@ -44,7 +44,7 @@
 {
   const char
     *name = "kern.cp_time";
-  int
+  unsigned long
     cpu_states[CPUSTATES];
   size_t
     nlen = sizeof cpu_states,




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to