ld-plugin/pr24406-1.c: Correct buffer size to read
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / pr24406-1.c
index 43995bdb0791e0ab85818eb42a4e45602c666f81..fc706d3f718c9564ef9c988e0a6b268c4f6304ee 100644 (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;
 }
This page took 0.039643 seconds and 4 git commands to generate.