aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/util.h b/common/util.h
index 10828d7e5..92b88aa8d 100644
--- a/common/util.h
+++ b/common/util.h
@@ -71,9 +71,7 @@
static inline gpg_error_t
out_of_core (void)
{
- return gpg_error (errno
- ? gpg_err_code_from_errno(errno)
- : GPG_ERR_MISSING_ERRNO);
+ return gpg_error_from_syserror ();
}
/* A type to hold the ISO time. Note that this this is the same as