about summary refs log tree commit diff
path: root/posix/spawn_faction_addclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/spawn_faction_addclose.c')
-rw-r--r--posix/spawn_faction_addclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/spawn_faction_addclose.c b/posix/spawn_faction_addclose.c
index b90abb1f7a..b093f2812a 100644
--- a/posix/spawn_faction_addclose.c
+++ b/posix/spawn_faction_addclose.c
@@ -28,7 +28,7 @@ int
 posix_spawn_file_actions_addclose (posix_spawn_file_actions_t *file_actions,
 				   int fd)
 {
-  int maxfd = sysconf (_SC_OPEN_MAX);
+  int maxfd = __sysconf (_SC_OPEN_MAX);
   struct __spawn_action *rec;
 
   /* Test for the validity of the file descriptor.  */