summaryrefslogtreecommitdiffstats
path: root/rescue/drvinst
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/drvinst')
-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";
}