diff --git a/src/timezone/zic.c b/src/timezone/zic.c index 8d4347a47a3..f9cbac9f006 100644 --- a/src/timezone/zic.c +++ b/src/timezone/zic.c @@ -3485,7 +3485,10 @@ int link(const char *oldpath, const char *newpath) { if (!CopyFile(oldpath, newpath, false)) + { + _dosmaperr(GetLastError()); return -1; + } return 0; } #endif