summaryrefslogtreecommitdiff
path: root/debug/readlink_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/readlink_chk.c')
-rw-r--r--debug/readlink_chk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/debug/readlink_chk.c b/debug/readlink_chk.c
index c44d1d8c37..fb5bcbd8f1 100644
--- a/debug/readlink_chk.c
+++ b/debug/readlink_chk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005-2018 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <unistd.h>
#include <sys/param.h>
@@ -29,9 +29,5 @@ __readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
if (len > buflen)
__chk_fail ();
-#ifdef HAVE_INLINED_SYSCALLS
- return INLINE_SYSCALL (readlink, 3, path, buf, len);
-#else
return __readlink (path, buf, len);
-#endif
}