upstream: fix error message

OpenBSD-Commit-ID: 1eb52025658eb78ea6223181e552862198d3d505
This commit is contained in:
djm@openbsd.org 2020-01-06 02:24:28 +00:00 committed by Damien Miller
parent dd2acc8b86
commit ff5784e269
1 changed files with 1 additions and 2 deletions

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