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
commit4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04 (patch)
treef753c8867e3327a5bd9f21223c203342d7e27e45
parentfa44a56fc059ddd764495a8f60ac086265a5350b (diff)
downloaddrakx-backup-do-not-use-4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04.tar
drakx-backup-do-not-use-4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04.tar.gz
drakx-backup-do-not-use-4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04.tar.bz2
drakx-backup-do-not-use-4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04.tar.xz
drakx-backup-do-not-use-4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04.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";
}