Browse Source

Fix fsync on Redox

Jeremy Soller 5 years ago
parent
commit
84745ca770
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/unistd/fsync.c

+ 1 - 1
tests/unistd/fsync.c

@@ -6,7 +6,7 @@
 #include "test_helpers.h"
 
 int main(void) {
-    int fd = open(".", 0, 0);
+    int fd = open("example_dir/1-never-gonna-give-you-up", O_RDWR);
     ERROR_IF(open, fd, == -1);
     UNEXP_IF(open, fd, < 0);