summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 36245ef..79eedfc 100644
--- a/getloadavg.c
+++ b/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