diff options
author | pav <pav@FreeBSD.org> | 2005-04-02 17:09:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-04-02 17:09:33 +0800 |
commit | 13168f3ad12ff9cb5c4b0e8151e09702fef1a7a7 (patch) | |
tree | 209d364c868010ff11dd0b98f0b97a3b281dd4f0 /sysutils/symon/files | |
parent | b0426dd84a8cdb8e6495b863c82d76640b4f9508 (diff) | |
download | freebsd-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.c | 6 |
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 */ |