diff options
Diffstat (limited to 'src/cmd')
-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); |