mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix a stupid typo that resulted in breaking libgtop[2] on both -CURRENT and
-STABLE. Spotted by: Mike Harding <mvh@ix.netcom.com>
This commit is contained in:
parent
c026fb8d6b
commit
98d23a76be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73150
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
/* MIB array for sysctl */
|
/* MIB array for sysctl */
|
||||||
static int mib_length=2;
|
static int mib_length=2;
|
||||||
-#ifdef __bsdi__
|
-#ifdef __bsdi__
|
||||||
+#ifdef VM_METER
|
+#ifndef VM_METER
|
||||||
static int mib [] = { CTL_VM, VM_TOTAL };
|
static int mib [] = { CTL_VM, VM_TOTAL };
|
||||||
#else
|
#else
|
||||||
static int mib [] = { CTL_VM, VM_METER };
|
static int mib [] = { CTL_VM, VM_METER };
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
/* MIB array for sysctl */
|
/* MIB array for sysctl */
|
||||||
static int mib_length=2;
|
static int mib_length=2;
|
||||||
-#ifdef __bsdi__
|
-#ifdef __bsdi__
|
||||||
+#ifdef VM_METER
|
+#ifndef VM_METER
|
||||||
static int mib [] = { CTL_VM, VM_TOTAL };
|
static int mib [] = { CTL_VM, VM_TOTAL };
|
||||||
#else
|
#else
|
||||||
static int mib [] = { CTL_VM, VM_METER };
|
static int mib [] = { CTL_VM, VM_METER };
|
||||||
|
|
Loading…
Add table
Reference in a new issue