aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2017-10-02 18:25:23 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-02 18:25:23 +0000
commitbaaf0444abbf3517149d61517f726f8ecbd4a6ae (patch)
tree167d5d853920462cb6f958ded6a4415fb4c581fe
parentb2b0460c5b2ba48eb2fa4aedf6ae4ef61c0c70bf (diff)
parent99056c2f16bcad94154cedcf08338713a7834fc3 (diff)
downloadbionic-nougat-mr1-cts-release.tar.gz
-rw-r--r--tests/fcntl_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fcntl_test.cpp b/tests/fcntl_test.cpp
index 3fd0a8cfb..b62b670d3 100644
--- a/tests/fcntl_test.cpp
+++ b/tests/fcntl_test.cpp
@@ -196,7 +196,7 @@ TEST(fcntl, vmsplice) {
}
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);