about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-20 20:55:53 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-20 20:55:53 +0000
commita4faf24354ee98ef226a9012f2835cd771380882 (patch)
tree4f40dfbd7bb3a5efbc2f91d6ceebfa5602971cc6 /sysdeps/generic
parent680dd6f228441bf625ca6a384c22f9dfb90133e1 (diff)
downloadglibc-a4faf24354ee98ef226a9012f2835cd771380882.tar.gz
glibc-a4faf24354ee98ef226a9012f2835cd771380882.tar.xz
glibc-a4faf24354ee98ef226a9012f2835cd771380882.zip
Update.
	* sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast
	first syscall parameter to cnst char*.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/check_fds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/check_fds.c b/sysdeps/generic/check_fds.c
index 62df3e5cc0..8a3efd1b37 100644
--- a/sysdeps/generic/check_fds.c
+++ b/sysdeps/generic/check_fds.c
@@ -49,7 +49,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 accidently use this descriptor.  */
-      int nullfd = open_not_cancel ((const char *) _PATH_DEVNULL, mode);
+      int nullfd = open_not_cancel (_PATH_DEVNULL, mode);
       /* We are very paranoid here.  With all means we try to ensure
 	 that we are actually opening the /dev/null device and nothing
 	 else.