ld-plugin/pr24406-1.c: Correct buffer size to read

* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
	to read.
This commit is contained in:
H.J. Lu 2019-09-23 08:51:36 -07:00
parent ec73ddcd43
commit 4a41f3face
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
to read.
2019-09-23 Alan Modra <amodra@gmail.com>
* deffilep.y: Include bfdlink.h.

View File

@ -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;
}