discuss-gnustep
[Top][All Lists]
Advanced

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

TimeMon problems on 64 bit BSD - solution!


From: Pete French
Subject: TimeMon problems on 64 bit BSD - solution!
Date: Thu, 04 Sep 2008 17:14:07 +0100

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,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]