aboutsummaryrefslogtreecommitdiff
path: root/csu/check_fds.c
diff options
context:
space:
mode:
Diffstat (limited to 'csu/check_fds.c')
-rw-r--r--csu/check_fds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 062c879..5bd6392 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -61,7 +61,7 @@ check_one_fd (int fd, int mode)
/* Something is wrong with this descriptor, it's probably not
opened. Open /dev/null so that the SUID program we are
about to start does not accidentally use this descriptor. */
- int nullfd = open_not_cancel (name, mode, 0);
+ int nullfd = __open_nocancel (name, mode, 0);
/* We are very paranoid here. With all means we try to ensure
that we are actually opening the /dev/null device and nothing