From: Jim Meyering Date: Thu, 4 Mar 2004 13:13:43 +0000 (+0000) Subject: (getloadavg): Use `true', not `1'. X-Git-Tag: v5.2.1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c9ecd1752e1add7d605942120226da5d9390b7;p=thirdparty%2Fcoreutils.git (getloadavg): Use `true', not `1'. --- diff --git a/lib/getloadavg.c b/lib/getloadavg.c index 01aa87858f..c6b6fee109 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 */