mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
28 lines
667 B
Diff
28 lines
667 B
Diff
|
---
|
||
|
debug/readlink_chk.c | 2 +-
|
||
|
debug/readlinkat_chk.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/debug/readlink_chk.c
|
||
|
+++ b/debug/readlink_chk.c
|
||
|
@@ -24,7 +24,7 @@
|
||
|
|
||
|
|
||
|
ssize_t
|
||
|
-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
|
||
|
+__readlink_chk (const char *path, char *buf, size_t len, size_t buflen)
|
||
|
{
|
||
|
if (len > buflen)
|
||
|
__chk_fail ();
|
||
|
--- a/debug/readlinkat_chk.c
|
||
|
+++ b/debug/readlinkat_chk.c
|
||
|
@@ -20,7 +20,7 @@
|
||
|
|
||
|
|
||
|
ssize_t
|
||
|
-__readlinkat_chk (int fd, const char *path, void *buf, size_t len,
|
||
|
+__readlinkat_chk (int fd, const char *path, char *buf, size_t len,
|
||
|
size_t buflen)
|
||
|
{
|
||
|
if (len > buflen)
|