aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-09-14 16:50:33 +0000
committerWerner Koch <[email protected]>2006-09-14 16:50:33 +0000
commit03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch)
tree768acc2e54f6e4abcc405e665bf058aa1556d3f5 /sm/keylist.c
parentVarious fixes and new features. (diff)
downloadgnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.gz
gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip
Take advantage of newer gpg-error features.
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index 927bc88a6..f2aac11f5 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -1164,7 +1164,7 @@ list_internal_keys (ctrl_t ctrl, STRLIST names, FILE *fp,
desc = xtrycalloc (ndesc, sizeof *desc);
if (!ndesc)
{
- rc = gpg_error_from_errno (errno);
+ rc = gpg_error_from_syserror ();
log_error ("out of core\n");
goto leave;
}