aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-01-30 17:54:18 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-01-30 17:54:18 +0000
commit565379b6b6ed4df4ded9f0138c7ce793ba56579d (patch)
tree7006ad6aed32089aa3e7ab4da82371abb0865577 /libexec
parent5322a0968e67a0c22f4b7a92aa065c9c8a31070f (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atrun/atrun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c
index 1e25766c41b12..7b11e7bb1997c 100644
--- a/libexec/atrun/atrun.c
+++ b/libexec/atrun/atrun.c
@@ -459,8 +459,9 @@ main(int argc, char *argv[])
int c;
int run_batch;
#ifdef __FreeBSD__
- size_t ncpu, ncpusz;
+ size_t ncpusz;
double load_avg = -1;
+ int ncpu;
#else
double load_avg = LOADAVG_MX;
#endif