aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/symon/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-04-02 17:09:33 +0800
committerpav <pav@FreeBSD.org>2005-04-02 17:09:33 +0800
commit13168f3ad12ff9cb5c4b0e8151e09702fef1a7a7 (patch)
tree209d364c868010ff11dd0b98f0b97a3b281dd4f0 /sysutils/symon/files
parentb0426dd84a8cdb8e6495b863c82d76640b4f9508 (diff)
downloadfreebsd-ports-gnome-13168f3ad12ff9cb5c4b0e8151e09702fef1a7a7.tar.gz
freebsd-ports-gnome-13168f3ad12ff9cb5c4b0e8151e09702fef1a7a7.tar.zst
freebsd-ports-gnome-13168f3ad12ff9cb5c4b0e8151e09702fef1a7a7.zip
- Fix build on -CURRENT
Submitted by: maintainer
Diffstat (limited to 'sysutils/symon/files')
-rw-r--r--sysutils/symon/files/patch-sm_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/symon/files/patch-sm_proc.c b/sysutils/symon/files/patch-sm_proc.c
index 83d12e8132da..7ab1d9d5238a 100644
--- a/sysutils/symon/files/patch-sm_proc.c
+++ b/sysutils/symon/files/patch-sm_proc.c
@@ -5,9 +5,9 @@
if (kvm_read(proc_kd, (unsigned long)pp->ki_paddr, &pproc,
sizeof(pproc)) == sizeof(pproc)) {
+#ifdef HAS_RUSAGE_EXT
-+ cpu_uticks += pproc.p_rux.p_uticks; /* user */
-+ cpu_sticks += pproc.p_rux.p_sticks; /* sys */
-+ cpu_iticks += pproc.p_rux.p_iticks; /* int */
++ cpu_uticks += pproc.p_rux.rux_uticks; /* user */
++ cpu_sticks += pproc.p_rux.rux_sticks; /* sys */
++ cpu_iticks += pproc.p_rux.rux_iticks; /* int */
+#else
cpu_uticks += pproc.p_uticks; /* user */
cpu_sticks += pproc.p_sticks; /* sys */