From: 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_0.97-1~123 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b7f2211a1a4cda0e71bc70e5c89311176b6488;p=yubikey-personalization.old Use the new yk_usb_strerror() from yubikey-core git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@39 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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));