diff --git a/ld/ChangeLog b/ld/ChangeLog index fe27434bf2..0e550d21c2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2019-09-23 H.J. Lu + + * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size + to read. + 2019-09-23 Alan Modra * deffilep.y: Include bfdlink.h. diff --git a/ld/testsuite/ld-plugin/pr24406-1.c b/ld/testsuite/ld-plugin/pr24406-1.c index 43995bdb07..fc706d3f71 100644 --- a/ld/testsuite/ld-plugin/pr24406-1.c +++ b/ld/testsuite/ld-plugin/pr24406-1.c @@ -12,6 +12,6 @@ __wrap_read (int fd, void *buffer, size_t count) int main () { - int i = read (1, "abc", 5); + int i = read (1, "abc", 4); return i == 0; }