diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-05-07 08:51:37 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-05-07 08:51:37 +0800 |
commit | d09aa519d2c23dc34d71277b2c8ca4029d39895c (patch) | |
tree | 426dd8b78ab104ea67e64c93febad5bd455cf56b /sysutils/kcpuload | |
parent | 8767f8cf282a85813c6e29bdffddca14e6bf3623 (diff) | |
download | freebsd-ports-gnome-d09aa519d2c23dc34d71277b2c8ca4029d39895c.tar.gz freebsd-ports-gnome-d09aa519d2c23dc34d71277b2c8ca4029d39895c.tar.zst freebsd-ports-gnome-d09aa519d2c23dc34d71277b2c8ca4029d39895c.zip |
(Hopefully) fix build on alpha.
Diffstat (limited to 'sysutils/kcpuload')
-rw-r--r-- | sysutils/kcpuload/files/patch-kcpuproc.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/kcpuload/files/patch-kcpuproc.cpp b/sysutils/kcpuload/files/patch-kcpuproc.cpp index 8e56e5b445a5..6d81eb226716 100644 --- a/sysutils/kcpuload/files/patch-kcpuproc.cpp +++ b/sysutils/kcpuload/files/patch-kcpuproc.cpp @@ -1,5 +1,5 @@ ---- kcpuload/kcpuproc.cpp.orig Wed May 7 09:07:19 2003 -+++ kcpuload/kcpuproc.cpp Wed May 7 09:16:42 2003 +--- kcpuload/kcpuproc.cpp.orig Fri Dec 20 10:48:06 2002 ++++ kcpuload/kcpuproc.cpp Wed May 7 09:33:48 2003 @@ -18,8 +18,12 @@ // BSD-specific includes. @@ -14,3 +14,12 @@ #include <sys/sysctl.h> #include <string.h> #include <kvm.h> +@@ -119,7 +123,7 @@ + static int oidCpuTime[CTL_MAXNAME + 2]; + static size_t oidCpuTimeLen = sizeof(oidCpuTime); + long cpuTime[CPUSTATES]; +- unsigned int cpuTimeLen = sizeof(cpuTime); ++ size_t cpuTimeLen = sizeof(cpuTime); + static char *name = "kern.cp_time"; + static int initialized = 0; + #endif |