]> err.no Git - yubikey-personalization.old/commitdiff
Use the new yk_usb_strerror() from yubikey-core
authorlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Mon, 9 Mar 2009 17:28:40 +0000 (17:28 +0000)
committerlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Mon, 9 Mar 2009 17:28:40 +0000 (17:28 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@39 b62f149e-849f-11dd-9899-c7ba65f7c4c7

ykpersonalize.c

index bc362412ce12f7ab695e825c4d229b52d3736be8..7e97db2ad7a183e2e72f812280f813b7962536fe 100644 (file)
@@ -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));