summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-14 10:58:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-14 10:58:55 +0000
commitc7f6e08b089ffe2f95023abb671bd157916be39e (patch)
tree25a0c229401b38ee2d54a0a872abbdfefc353205 /perl-install/detect_devices.pm
parentb5adb4fbf00e0c8a94bec8155eba3f936fbb4b32 (diff)
downloaddrakx-backup-do-not-use-c7f6e08b089ffe2f95023abb671bd157916be39e.tar
drakx-backup-do-not-use-c7f6e08b089ffe2f95023abb671bd157916be39e.tar.gz
drakx-backup-do-not-use-c7f6e08b089ffe2f95023abb671bd157916be39e.tar.bz2
drakx-backup-do-not-use-c7f6e08b089ffe2f95023abb671bd157916be39e.tar.xz
drakx-backup-do-not-use-c7f6e08b089ffe2f95023abb671bd157916be39e.zip
(probeSerialDevices) simplify
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 03544bf70..27261f8a3 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(list_modules::category2modules('various/serial'));
foreach (0..3) {
#- make sure the device are created before probing,
devices::make("/dev/ttyS$_");