[2/2] contrib/m920x/m920x_parse.pl: silence a warning
Commit Message
Silence a warning due to the way get_line() is supposed to be called:
Use of uninitialized value $cmd in split at m920x_parse.pl line 118
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
---
contrib/m920x/m920x_parse.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -190,7 +190,7 @@ my @bytes;
if ($mode eq "fw") {
open(OUT, ">", "fw") || die "Can't open fw";
- while(@bytes = get_line()) {
+ while(@bytes = get_line("-1")) {
if(scalar(@bytes) <= 1) {
last;
}