aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timezone/zic.c3
1 files changed, 3 insertions, 0 deletions
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