aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auxstats
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-01-27 03:55:18 +0000
committerrsc <devnull@localhost>2006-01-27 03:55:18 +0000
commit2a951f5eb612939f890c09a5293226b673663043 (patch)
tree385874915b29adec51bb5e32338ab44bef53a466 /src/cmd/auxstats
parent62a826a250a3926fa54536975565d05cd3b92db6 (diff)
downloadplan9port-2a951f5eb612939f890c09a5293226b673663043.tar.gz
plan9port-2a951f5eb612939f890c09a5293226b673663043.tar.bz2
plan9port-2a951f5eb612939f890c09a5293226b673663043.zip
more os x 10.4
Diffstat (limited to 'src/cmd/auxstats')
-rw-r--r--src/cmd/auxstats/Darwin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/auxstats/Darwin.c b/src/cmd/auxstats/Darwin.c
index 8905edca..168d866c 100644
--- a/src/cmd/auxstats/Darwin.c
+++ b/src/cmd/auxstats/Darwin.c
@@ -410,9 +410,11 @@ xswap(int first)
{
if(first)
return;
-
+
+#ifdef VM_SWAPUSAGE
if(sample.xsu_valid)
Bprint(&bout, "swap %lld %lld\n",
(vlong)sample.xsu.xsu_used,
(vlong)sample.xsu.xsu_total);
+#endif
}