about summary refs log tree commit diff
path: root/debug/readlink_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/readlink_chk.c')
-rw-r--r--debug/readlink_chk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/readlink_chk.c b/debug/readlink_chk.c
index c491db2225..99dea40c7b 100644
--- a/debug/readlink_chk.c
+++ b/debug/readlink_chk.c
@@ -24,7 +24,8 @@
 
 
 ssize_t
-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
+__readlink_chk (const char *__restrict path, char *__restrict buf, size_t len,
+		size_t buflen)
 {
   if (len > buflen)
     __chk_fail ();