summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:26:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:26:13 +0000
commit48c9f04a8233ce03157e4486cbd05c975627ded5 (patch)
treef753c8867e3327a5bd9f21223c203342d7e27e45
parent992935707496505f1c41cc9c5660b9bbd065ff68 (diff)
downloaddrakx-48c9f04a8233ce03157e4486cbd05c975627ded5.tar
drakx-48c9f04a8233ce03157e4486cbd05c975627ded5.tar.gz
drakx-48c9f04a8233ce03157e4486cbd05c975627ded5.tar.bz2
drakx-48c9f04a8233ce03157e4486cbd05c975627ded5.tar.xz
drakx-48c9f04a8233ce03157e4486cbd05c975627ded5.zip
(install_module_raw) 'descr' arg is now mandatory since simpe calls just vanished
-rwxr-xr-xrescue/drvinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/drvinst b/rescue/drvinst
index be4fa6e94..8395bfce4 100755
--- a/rescue/drvinst
+++ b/rescue/drvinst
@@ -20,8 +20,8 @@ $ARGV[0] =~ /^--?h/ and die "usage: drivers_install [drivertype1 [drivertype2 ..
my @types = @ARGV;
sub install_module_raw {
- my ($driver, $o_descr) = @_;
- print STDERR "Installing driver $driver", if_($o_descr, qq( (for "$o_descr"))), "\n";
+ my ($driver, $descr) = @_;
+ print STDERR qq(Installing driver $driver (for "$descr")\n);
system("/sbin/modprobe", $driver) and print "\tfailed\n";
}