]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - debug/readlink_chk.c
Simplify tzfile fstat failure code
[thirdparty/glibc.git] / debug / readlink_chk.c
index 267f4b5f7b856d0a1e1e4cb14d3f922081dacf6a..e3204004d2ae05e316722fae2f3901d85f11fc20 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2018 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
@@ -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
 }