diff options
Diffstat (limited to 'sm/keylist.c')
-rw-r--r-- | sm/keylist.c | 2 |
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; } |