tMore fixes. - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 663ddde9d07417ab51239c0c4305708a1a319c62 | |
parent eb2e77a969b74b7199959cd661bb00ab4edaa1d9 | |
Author: rsc | |
Date: Mon, 31 Oct 2005 01:15:30 +0000 More fixes. Diffstat: M src/cmd/auxstats/Darwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- | |
diff --git a/src/cmd/auxstats/Darwin.c b/src/cmd/auxstats/Darwin.c | |
t@@ -149,7 +149,7 @@ samplenet(void) * won't be required. */ void -samplevents(void) +sampleevents(void) { uint i, j, pcnt, tcnt; mach_msg_type_number_t count; t@@ -241,7 +241,7 @@ xsample(int first) len = sizeof sample.xsu; sample.xsu_valid = TRUE; if(sysctl(mib, 2, &sample.xsu, &len, NULL, 0) < 0 && errno == ENOENT) - sample.xsu_value = FALSE; + sample.xsu_valid = FALSE; samplenet(); sampleevents(); |