X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/cbbd57eee5980acc6879e119fe6b8913285f2af6..dd2411d7d47fd72be78802cb28d6f0ef73785e9e:/LinuxGUI/Ventoy2Disk/Core/ventoy_log.c diff --git a/LinuxGUI/Ventoy2Disk/Core/ventoy_log.c b/LinuxGUI/Ventoy2Disk/Core/ventoy_log.c index 6e788c2..86bf0c7 100644 --- a/LinuxGUI/Ventoy2Disk/Core/ventoy_log.c +++ b/LinuxGUI/Ventoy2Disk/Core/ventoy_log.c @@ -133,7 +133,7 @@ void ventoy_syslog(int level, const char *Fmt, ...) if (fp) { fprintf(fp, "[%04u/%02u/%02u %02u:%02u:%02u] %s", - ttm.tm_year, ttm.tm_mon, ttm.tm_mday, + ttm.tm_year + 1900, ttm.tm_mon, ttm.tm_mday, ttm.tm_hour, ttm.tm_min, ttm.tm_sec, log); fclose(fp);