summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index fdac50818..f2bd17601 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -615,7 +615,7 @@ sub whatUsbport() {
my $realport = devices::make($port);
next if !$realport;
next if ! -r $realport;
- open my $PORT, $realport or next;
+ open(my $PORT, $realport) or next;
my $idstr = "";
# Calculation of IOCTL function 0x84005001 (to get device ID
# string):
@@ -735,7 +735,7 @@ sub hasMousePS2 {
}
sub raidAutoStartIoctl {
- sysopen my $F, devices::make("md0"), 2 or return;
+ sysopen(my $F, devices::make("md0"), 2) or return;
ioctl $F, 2324, 0;
}