tmore os x 10.4 - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 2a951f5eb612939f890c09a5293226b673663043
parent 62a826a250a3926fa54536975565d05cd3b92db6
Author: rsc 
Date:   Fri, 27 Jan 2006 03:55:18 +0000

more os x 10.4

Diffstat:
  M src/cmd/auxstats/Darwin.c           |       4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/cmd/auxstats/Darwin.c b/src/cmd/auxstats/Darwin.c
t@@ -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
 }