summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/scanner.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm
index 3d7fda2b6..3045fd5c6 100755
--- a/perl-install/scanner.pm
+++ b/perl-install/scanner.pm
@@ -126,7 +126,7 @@ sub detect {
if ($vendorid and $productid) {
# We have vendor and product ID, look up the scanner in
# the usbtable
- foreach $entry (cat_("$_scannerDBdir/usbtable")) {
+ foreach my $entry (cat_("$_scannerDBdir/usbtable")) {
if ($entry =~
/^\s*$vendorid\s+$productid\s+.*\"([^\"]+)\"\s*$/) {
$description = $1;