summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 1dc4a1884..6e5e040a8 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -873,7 +873,7 @@ sub probeSerialDevices() {
require list_modules;
require modules;
modules::load_category($::o->{modules_conf}, 'various/serial');
- modules::append_to_modules_loaded_at_startup_for_all_kernels() foreach list_modules::category2modules('various/serial');
+ modules::append_to_modules_loaded_at_startup_for_all_kernels($_) foreach list_modules::category2modules('various/serial');
foreach (0..3) {
#- make sure the device are created before probing,
devices::make("/dev/ttyS$_");