]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(getloadavg): Use `true', not `1'.
authorJim Meyering <jim@meyering.net>
Thu, 4 Mar 2004 13:13:43 +0000 (13:13 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 4 Mar 2004 13:13:43 +0000 (13:13 +0000)
lib/getloadavg.c

index 01aa87858f54ddefb2595db404f175850af174bc..c6b6fee1098ab17e74e64a80ff9f78979d5ab085 100644 (file)
@@ -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 */