aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ykfde.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ykfde.c')
-rw-r--r--bin/ykfde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c
index c0bcd25..44ead9a 100644
--- a/bin/ykfde.c
+++ b/bin/ykfde.c
@@ -340,12 +340,12 @@ out50:
out40:
/* close Yubikey */
- if (!yk_close_key(yk))
+ if (yk_close_key(yk) == 0)
perror("yk_close_key() failed");
out30:
/* release Yubikey */
- if (!yk_release())
+ if (yk_release() == 0)
perror("yk_release() failed");
out20: