From 03d3322e5fb928d48ea4192fd2f2cc851d791421 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 14 Sep 2006 16:50:33 +0000 Subject: Take advantage of newer gpg-error features. --- common/util.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/util.h') 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 -- cgit v1.2.3