提交 87147ff0 编写于 作者: O Oliver Endriss 提交者: 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: NOliver Endriss <o.endriss@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册