From 435827fe5a4340c192d9e68d7b5cd92205f299a8 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 15 Jan 2023 15:57:08 +0200 Subject: [PATCH] Update os.h --- include/spdlog/details/os.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index 742482d0..b92acb2f 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -109,9 +109,9 @@ SPDLOG_API bool create_dir(const filename_t &path); // return empty string if field not found SPDLOG_API std::string getenv(const char *field); -// Do fsync by FILE descriptor +// Do fsync by FILE object // Return true on success -SPDLOG_API bool fsync(FILE * fd); +SPDLOG_API bool fsync(FILE * f); } // namespace os } // namespace details