From: Richard Levitte Date: Mon, 9 Mar 2009 17:28:40 +0000 (+0000) Subject: Use the new yk_usb_strerror() from yubikey-core X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~188 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9dd4d175f7444fc3d5f3ab7ee76910a74476d34;p=yubikey-personalization.old Use the new yk_usb_strerror() from yubikey-core --- diff --git a/ykpersonalize.c b/ykpersonalize.c index bc36241..7e97db2 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -87,7 +87,7 @@ static void report_yk_error() if (yk_errno) { if (yk_errno == YK_EUSBERR) { fprintf(stderr, "USB error: %s\n", - usb_strerror()); + yk_usb_strerror()); } else { fprintf(stderr, "Yubikey core error: %s\n", yk_strerror(yk_errno));