]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: fix error message
authordjm@openbsd.org <djm@openbsd.org>
Mon, 6 Jan 2020 02:24:28 +0000 (02:24 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 6 Jan 2020 02:25:26 +0000 (13:25 +1100)
OpenBSD-Commit-ID: 1eb52025658eb78ea6223181e552862198d3d505

sk-usbhid.c

index 2e1573c480f5bba00a3b360560b154d199a715b4..21d791ba4bee56c405ad2db297fec11595b988de 100644 (file)
@@ -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;
                }