aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auxstats
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-30 20:41:58 +0000
committerrsc <devnull@localhost>2005-12-30 20:41:58 +0000
commitc704a4a23e12eb1d02cc1ec6803d7ba8731e0368 (patch)
tree1734dd32ade5b4b437c76839d4db5d58677a0432 /src/cmd/auxstats
parent2e8a63f0d19e04d2e9b0a89efbd00af0eb2e5f76 (diff)
downloadplan9port-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.c2
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);