summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorPaul D. Smith <psmith@BayNetworks.com>1999-07-20 22:34:43 +0000
committerPaul D. Smith <psmith@BayNetworks.com>1999-07-20 22:34:43 +0000
commit071b0719a092ea1af61a5c9f33007778b784cdc7 (patch)
tree5b15041f9249e7631f9e50e7bec3ecbd29df7a72 /src/getloadavg.c
parent9dc09247dbf6adf059c91d328c88658c05f3a36c (diff)
downloademacs-071b0719a092ea1af61a5c9f33007778b784cdc7.tar.gz
* Fix memory leaks, fd leaks, and some long-standing bugs recognizing when
targets need to have their modtimes rechecked (-n, etc.)
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 36245efcf8b..79eedfc5b32 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -966,7 +966,7 @@ getloadavg (loadavg, nelem)
{
/* Set the channel to close on exec, so it does not
litter any child's descriptor table. */
-# ifdef FD_SETFD
+# ifdef F_SETFD
# ifndef FD_CLOEXEC
# define FD_CLOEXEC 1
# endif