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; }