9f54992fb5
changes: -Fix numerous bugs in the FreeBSD backend -Split off OpenBSD code in its own backend, and fixes -Updated translations
18 lines
506 B
Text
18 lines
506 B
Text
$NetBSD: patch-dc,v 1.2 2012/01/19 19:43:57 drochner Exp $
|
|
|
|
--- sysdeps/freebsd/cpu.c.orig 2011-07-24 19:13:56.000000000 +0000
|
|
+++ sysdeps/freebsd/cpu.c
|
|
@@ -53,6 +53,7 @@ _glibtop_init_cpu_s (glibtop *server)
|
|
void
|
|
glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf)
|
|
{
|
|
+#ifndef __DragonFly__
|
|
long cpts [CPUSTATES];
|
|
long *cp_times = NULL;
|
|
struct clockinfo ci;
|
|
@@ -132,4 +133,5 @@ glibtop_get_cpu_s (glibtop *server, glib
|
|
if (ncpu > 1) {
|
|
buf->flags |= _glibtop_sysdeps_cpu_smp;
|
|
}
|
|
+#endif
|
|
}
|