summaryrefslogtreecommitdiffstats
path: root/sk-usbhid.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-06 03:24:28 +0100
committerDamien Miller <djm@mindrot.org>2020-01-06 03:25:26 +0100
commitff5784e2698d6c41e9f39ce4df24968c1beeb2bb (patch)
treea5e6ca746abedd897b18d7e89a8e5ab69c7f323b /sk-usbhid.c
parentupstream: adapt sk-dummy to SK API changes (diff)
downloadopenssh-ff5784e2698d6c41e9f39ce4df24968c1beeb2bb.tar.xz
openssh-ff5784e2698d6c41e9f39ce4df24968c1beeb2bb.zip
upstream: fix error message
OpenBSD-Commit-ID: 1eb52025658eb78ea6223181e552862198d3d505
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r--sk-usbhid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 2e1573c48..21d791ba4 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -1013,8 +1013,7 @@ sk_load_resident_keys(const char *pin, struct sk_option **options,
if (device != NULL) {
skdebug(__func__, "trying %s", device);
if ((r = read_rks(device, pin, &rks, &nrks)) != 0) {
- skdebug(__func__, "read_rks failed for %s",
- fido_dev_info_path(di));
+ skdebug(__func__, "read_rks failed for %s", device);
ret = r;
goto out;
}