diff options
author | Yabin Cui <yabinc@google.com> | 2014-11-06 19:55:09 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2014-11-07 10:20:32 -0800 |
commit | 5ca4a9e2da46db30ad6d8556b61679d138aaf88d (patch) | |
tree | fe013b8b41e1eb1388c5f76931f6f1c24331f905 /tests/stdio_test.cpp | |
parent | 9df70403d95f5cfe6824e38a9a6c35f9b9bbc76a (diff) |
implement missing seekdir and telldir
Bug: 18266863
Change-Id: I189ee949d4f7ccee099f3341e349cd969d25480f
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r-- | tests/stdio_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp index 549792efb..6be372c52 100644 --- a/tests/stdio_test.cpp +++ b/tests/stdio_test.cpp @@ -77,7 +77,7 @@ TEST(stdio, dprintf) { 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); |