Message ID | 20241028233058.283381-2-sj@kernel.org |
---|---|
State | New |
Headers | show |
Series | [1/6] selftests/damon/huge_count_read_write: provide sufficiently large buffer for DEPRECATED file read | expand |
diff --git a/tools/testing/selftests/damon/huge_count_read_write.c b/tools/testing/selftests/damon/huge_count_read_write.c index a6fe0689f88d..f3c199dc8eba 100644 --- a/tools/testing/selftests/damon/huge_count_read_write.c +++ b/tools/testing/selftests/damon/huge_count_read_write.c @@ -18,7 +18,7 @@ void write_read_with_huge_count(char *file) { int filedesc = open(file, O_RDWR); - char buf[25]; + char buf[256]; int ret; printf("%s %s\n", __func__, file);