From 5a7e6e07ffa34fd4131f95fbfe5ca23d7eedc592 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Mon, 7 Nov 2016 08:10:44 -0800 Subject: [PATCH] etes603: fix compilation error caused by a0bbbd7d3 --- libfprint/drivers/etes603.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c index 44cacbc..9795757 100644 --- a/libfprint/drivers/etes603.c +++ b/libfprint/drivers/etes603.c @@ -1465,7 +1465,7 @@ static int dev_open(struct fp_img_dev *idev, unsigned long driver_data) ret = libusb_claim_interface(idev->udev, 0); if (ret != LIBUSB_SUCCESS) { - fp_err("libusb_claim_interface failed on interface 0: %s", libusb_error_name(r)); + fp_err("libusb_claim_interface failed on interface 0: %s", libusb_error_name(ret)); return ret; }