diff --git a/lib/utils/mu-logger.cc b/lib/utils/mu-logger.cc index d9b6decc..75175277 100644 --- a/lib/utils/mu-logger.cc +++ b/lib/utils/mu-logger.cc @@ -65,7 +65,7 @@ maybe_rotate_logfile () return true; GStatBuf statbuf; - if (::stat (MuLogPath.c_str(), &statbuf) == -1 || + if (g_stat(MuLogPath.c_str(), &statbuf) == -1 || statbuf.st_size <= MaxLogFileSize) return true;