commit | 5ca4a9e2da46db30ad6d8556b61679d138aaf88d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Nov 06 19:55:09 2014 -0800 |
committer | Yabin Cui <yabinc@google.com> | Fri Nov 07 10:20:32 2014 -0800 |
tree | fe013b8b41e1eb1388c5f76931f6f1c24331f905 | |
parent | 9df70403d95f5cfe6824e38a9a6c35f9b9bbc76a [diff] [blame] |
implement missing seekdir and telldir Bug: 18266863 Change-Id: I189ee949d4f7ccee099f3341e349cd969d25480f
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp index 549792e..6be372c 100644 --- a/tests/stdio_test.cpp +++ b/tests/stdio_test.cpp
@@ -77,7 +77,7 @@ int rc = dprintf(tf.fd, "hello\n"); ASSERT_EQ(rc, 6); - lseek(tf.fd, SEEK_SET, 0); + lseek(tf.fd, 0, SEEK_SET); FILE* tfile = fdopen(tf.fd, "r"); ASSERT_TRUE(tfile != NULL);