diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index fa235f1eb263..3824668ddb1e 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -137,7 +137,7 @@ Error FileAccessUnix::open_internal(const String &p_path, int p_mode_flags) { return OK; } -void FileAccessWindows::_sync() { +void FileAccessUnix::_sync() { ERR_FAIL_NULL(f); fflush(f);