diff options
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); |