diff options
-rw-r--r-- | lib/getloadavg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getloadavg.c b/lib/getloadavg.c index 01aa87858..c6b6fee10 100644 --- a/lib/getloadavg.c +++ b/lib/getloadavg.c @@ -926,7 +926,7 @@ getloadavg (double loadavg[], int nelem) { /* Set the channel to close on exec, so it does not litter any child's descriptor table. */ - set_cloexec_flag (channel, 1) + set_cloexec_flag (channel, true); getloadavg_initialized = 1; } # else /* SUNOS_5 */ |