Jeremy Soller 6 лет назад
Родитель
Сommit
84745ca770
1 измененных файлов с 1 добавлено и 1 удалено
  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);