diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 3da219e8b..ff689800c 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -515,10 +515,10 @@ sub whatUsbport() { my @res; foreach $i (0..15) { my $port = "/dev/usb/lp$i"; - my $realport = devices::make("$port"); + my $realport = devices::make($port); next if (!$realport); next if (! -r $realport); - open PORT, "$realport" or do next; + open PORT, $realport or do next; my $idstr = ""; # Calculation of IOCTL function 0x84005001 (to get device ID # string): |