diff options
author | rsc <devnull@localhost> | 2005-12-30 20:41:58 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-12-30 20:41:58 +0000 |
commit | c704a4a23e12eb1d02cc1ec6803d7ba8731e0368 (patch) | |
tree | 1734dd32ade5b4b437c76839d4db5d58677a0432 /src/cmd/auxstats | |
parent | 2e8a63f0d19e04d2e9b0a89efbd00af0eb2e5f76 (diff) | |
download | plan9port-c704a4a23e12eb1d02cc1ec6803d7ba8731e0368.tar.gz plan9port-c704a4a23e12eb1d02cc1ec6803d7ba8731e0368.tar.bz2 plan9port-c704a4a23e12eb1d02cc1ec6803d7ba8731e0368.zip |
use size_t
Diffstat (limited to 'src/cmd/auxstats')
-rw-r--r-- | src/cmd/auxstats/FreeBSD.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/auxstats/FreeBSD.c b/src/cmd/auxstats/FreeBSD.c index 85443b02..4e8e75bc 100644 --- a/src/cmd/auxstats/FreeBSD.c +++ b/src/cmd/auxstats/FreeBSD.c @@ -140,7 +140,7 @@ xacpi(int first) { int rv; int val; - long len; + size_t len; len = sizeof(val); rv = sysctlbyname("hw.acpi.battery.life", &val, &len, nil, 0); |