]> Kevux Git Server - fll/commitdiff
Cleanup: Use project-specific type F_file_flag_read_only_d.
authorKevin Day <Kevin@kevux.org>
Wed, 26 Mar 2025 01:15:52 +0000 (20:15 -0500)
committerKevin Day <Kevin@kevux.org>
Wed, 26 Mar 2025 01:15:52 +0000 (20:15 -0500)
level_0/f_type/c/type/file.h

index 7c828753821eb4a3abbbb87b186f1a19a3ca4387..2af68eecc3270bbfa46949d279ffed375971fd97 100644 (file)
@@ -182,7 +182,7 @@ extern "C" {
   #define macro_f_file_t_reset(file) \
     file.stream = 0; \
     file.id = -1; \
-    file.flag = O_RDONLY; \
+    file.flag = F_file_flag_read_only_d; \
     file.size_read = F_file_default_size_read_d; \
     file.size_write = F_file_default_size_write_d;
 #endif // _di_f_file_t_