Merge "release-request-c10e71c1-ae23-413c-809a-e424390ecbdf-for-aosp-nougat-mr1-cts-release-4369596 snap-temp-L36500000107927032" into nougat-mr1-cts-release
diff --git a/tests/fcntl_test.cpp b/tests/fcntl_test.cpp
index 3fd0a8c..b62b670 100644
--- a/tests/fcntl_test.cpp
+++ b/tests/fcntl_test.cpp
@@ -196,7 +196,7 @@
}
TEST(fcntl, tee) {
- char expected[256];
+ char expected[BUFSIZ];
FILE* expected_fp = fopen("/proc/version", "r");
ASSERT_TRUE(expected_fp != NULL);
ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != NULL);