summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/gpg-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c
index 290ed485d..4b0457ab9 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -2981,7 +2981,7 @@ cmd_unblock (card_info_t info)
else if (!info->chvinfo[1])
{
log_error (_("Reset Code not or not anymore available\n"));
- err = gpg_error (GPG_ERR_PIN_BLOCKED);
+ err = gpg_error (GPG_ERR_NO_RESET_CODE);
}
else
{