aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app.c b/scd/app.c
index 6ac18272b..d395fe559 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -47,7 +47,7 @@ select_application (ctrl_t ctrl, int slot, const char *name)
app = xtrycalloc (1, sizeof *app);
if (!app)
{
- rc = out_of_core ();
+ rc = gpg_error (gpg_err_code_from_errno (errno));
log_info ("error allocating context: %s\n", gpg_strerror (rc));
return NULL;
}