From c3b7f2211a1a4cda0e71bc70e5c89311176b6488 Mon Sep 17 00:00:00 2001 From: levitte Date: Mon, 9 Mar 2009 17:28:40 +0000 Subject: [PATCH] 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 --- ykpersonalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5