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:
Joe Marcus Clarke 2003-01-15 01:28:41 +00:00
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

View file

@ -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 };

View file

@ -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 };