[Fingerforce-commits] [libfprint] 05/20: Fix udev rules printing
Didier Raboud
odyx at alioth.debian.org
Sun Sep 29 13:43:36 UTC 2013
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch master
in repository libfprint.
commit a6339a30ef8abea6c4dc90acbc04c49c07906abe
Author: Bastien Nocera <hadess at hadess.net>
Date: Thu Jul 25 12:27:53 2013 +0200
Fix udev rules printing
The blacklisted devices weren't correctly checked for past the first
item, as we weren't using the right index to get the product ID
from the ID table.
---
libfprint/fprint-list-udev-rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libfprint/fprint-list-udev-rules.c b/libfprint/fprint-list-udev-rules.c
index 791a457..d26ff14 100644
--- a/libfprint/fprint-list-udev-rules.c
+++ b/libfprint/fprint-list-udev-rules.c
@@ -52,7 +52,7 @@ static void print_driver (struct fp_driver *driver)
blacklist = 0;
for (j = 0; blacklist_id_table[j].vendor != 0; j++) {
if (driver->id_table[i].vendor == blacklist_id_table[j].vendor &&
- driver->id_table[j].product == blacklist_id_table[j].product) {
+ driver->id_table[i].product == blacklist_id_table[j].product) {
blacklist = 1;
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/fingerforce/libfprint.git
More information about the Fingerforce-commits
mailing list