Commit 87147ff0 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

V4L/DVB: get_dvb_firmware: Fix typo, sort list of components

Commiter: Oliver Endriss <o.endriss@gmx.de>

Fix typo. Sort list of components for better readability.
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e7e41d3b
...@@ -39,7 +39,7 @@ for ($i=0; $i < scalar(@components); $i++) { ...@@ -39,7 +39,7 @@ for ($i=0; $i < scalar(@components); $i++) {
die $@ if $@; die $@ if $@;
print STDERR <<EOF; print STDERR <<EOF;
Firmware(s) $outfile extracted successfully. Firmware(s) $outfile extracted successfully.
Now copy it(they) to either /usr/lib/hotplug/firmware or /lib/firmware Now copy it(them) to either /usr/lib/hotplug/firmware or /lib/firmware
(depending on configuration of firmware hotplug). (depending on configuration of firmware hotplug).
EOF EOF
exit(0); exit(0);
...@@ -685,6 +685,7 @@ sub delzero{ ...@@ -685,6 +685,7 @@ sub delzero{
sub syntax() { sub syntax() {
print STDERR "syntax: get_dvb_firmware <component>\n"; print STDERR "syntax: get_dvb_firmware <component>\n";
print STDERR "Supported components:\n"; print STDERR "Supported components:\n";
@components = sort @components;
for($i=0; $i < scalar(@components); $i++) { for($i=0; $i < scalar(@components); $i++) {
print STDERR "\t" . $components[$i] . "\n"; print STDERR "\t" . $components[$i] . "\n";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment