diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-06-11 23:10:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-06-11 23:10:53 +0000 |
commit | f45693f9edda2d4c1be19119eb06fd936900aadd (patch) | |
tree | 6812812345f71b8920282af2e4b3f84ea2ab1180 /usr.bin/vmstat | |
parent | 25018aae1e7a8c2288f61c32416e8d3c083a479f (diff) |
Some stray i386 -> __i386__ that only trigger for vmstat -i.
pc532 -> __pc532__ as well.
Reported & diagnosed by ficus.
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 661d3ce0f6a..ee6978fe089 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.27 1999/05/13 22:12:50 alex Exp $ */ +/* $OpenBSD: vmstat.c,v 1.28 1999/06/11 23:10:52 espie Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -126,11 +126,11 @@ struct nlist namelist[] = { #define X_DKEYSTATS (X_END+2) { "_dkeystats" }, #endif -#if defined(pc532) +#if defined(__pc532__) #define X_IVT (X_END) { "_ivt" }, #endif -#if defined(i386) +#if defined(__i386__) #define X_INTRHAND (X_END) { "_intrhand" }, #define X_INTRSTRAY (X_END+1) @@ -629,7 +629,7 @@ cpustats() (void)printf("%2.0f", cur.cp_time[CP_IDLE] * pct); } -#if defined(pc532) +#if defined(__pc532__) /* To get struct iv ...*/ #define _KERNEL #include <machine/psl.h> @@ -666,7 +666,7 @@ dointr() inttotal, inttotal / uptime); } } -#elif defined(i386) +#elif defined(__i386__) /* To get struct intrhand */ #define _KERNEL #include <machine/psl.h> |