david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[build] Remove nested "my" declaration

Fix build error with perl >= 5.23.2:

  Can't redeclare "my" in "my" at ./util/parserom.pl line 160

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Vinson Lee 2016-06-03 18:09:54 +01:00 committed by Michael Brown
parent aa4b038c70
commit f6e8b800be
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ sub process_isa_rom {
# Output Makefile rules for the specified ROM declarations
sub print_make_rules {
my ( $state, my $image, my $desc, my $vendor, my $device, my $dup ) = @_;
my ( $state, $image, $desc, $vendor, $device, $dup ) = @_;
unless ( $state->{'is_header_printed'} ) {
print "# NIC\t\n";
print "# NIC\tfamily\t$state->{family}\n";