aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-card.c')
-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 e2d728dab..a3113c9c5 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -2988,7 +2988,7 @@ cmd_yubikey (card_info_t info, char *argstr)
/* Note that we always do a learn to get a chance to the card back
* into a usable state. */
- err = yubikey_commands (fp, nwords, words);
+ err = yubikey_commands (info, fp, nwords, words);
err2 = scd_learn (info);
if (err2)
log_error ("Error re-reading card: %s\n", gpg_strerror (err));