summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-15 01:28:41 +0000
committermarcus <marcus@FreeBSD.org>2003-01-15 01:28:41 +0000
commit1eaa99930083a4758d221698a486b243ca3a65f1 (patch)
tree081cf4ebfa5663e938dea45212ec3a88134292ab /devel/libgtop2
parent03d0c8e14fb9a6a1c3649aa4e8a9c2b015a9b1a7 (diff)
downloadFreeBSD-ports-1eaa99930083a4758d221698a486b243ca3a65f1.zip
FreeBSD-ports-1eaa99930083a4758d221698a486b243ca3a65f1.tar.gz
Fix a stupid typo that resulted in breaking libgtop[2] on both -CURRENT and
-STABLE. Spotted by: Mike Harding <mvh@ix.netcom.com>
Diffstat (limited to 'devel/libgtop2')
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
index 2684544..2aa4b75 100644
--- a/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
+++ b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
@@ -5,7 +5,7 @@
/* MIB array for sysctl */
static int mib_length=2;
-#ifdef __bsdi__
-+#ifdef VM_METER
++#ifndef VM_METER
static int mib [] = { CTL_VM, VM_TOTAL };
#else
static int mib [] = { CTL_VM, VM_METER };
OpenPOWER on IntegriCloud