summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/sysutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index f8e6d86fc..c88c02d36 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -337,6 +337,7 @@ gnupg_w32_set_errno (int ec)
if (ec == -1)
ec = GetLastError ();
_set_errno (map_w32_to_errno (ec));
+ return ec;
}
#endif /*HAVE_W32_SYSTEM*/