diff options
author | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
commit | 03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch) | |
tree | 768acc2e54f6e4abcc405e665bf058aa1556d3f5 /common/util.h | |
parent | Various fixes and new features. (diff) | |
download | gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.gz gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip |
Take advantage of newer gpg-error features.
Diffstat (limited to '')
-rw-r--r-- | common/util.h | 4 |
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 |