summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_filesystem.c b/test/test_filesystem.c
index 75829ca..18a6efc 100644
--- a/test/test_filesystem.c
+++ b/test/test_filesystem.c
@@ -349,7 +349,7 @@ test_flock(void)
assert(file_path);
FILE* const f1 = fopen(file_path, "w");
- FILE* const f2 = fopen(file_path, "w");
+ FILE* const f2 = fopen(file_path, "a+");
assert(f1);
assert(f2);