summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-04 13:13:43 +0000
committerJim Meyering <jim@meyering.net>2004-03-04 13:13:43 +0000
commite7c9ecd1752e1add7d605942120226da5d9390b7 (patch)
tree2a26b886a585a00f3b91261f2dc3876d8ed78be2 /lib
parent44ebf255def7c1dd2ecb79e92afdc81222b38fda (diff)
downloadcoreutils-e7c9ecd1752e1add7d605942120226da5d9390b7.tar.xz
(getloadavg): Use `true', not `1'.
Diffstat (limited to 'lib')
-rw-r--r--lib/getloadavg.c2
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 */