Adjust the one current caller. No functional change
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
sub di_special_kernel ($$$) {
my ($ho, $d_i, $fn) = @_;
- # calls $fn->($kernel, $cpio) # either or both may be undef
+ # calls $fn->($kp, $kernel, $cpio) # $kernel and/or $cpio may be undef
foreach my $kp (keys %{ $ho->{Flags} }) {
my $kernel;
# Backwards compatibility
} else {
die "$kp $cpio $!";
}
- $fn->($kernel, $cpio);
+ $fn->($kp, $kernel, $cpio);
}
}
}
di_special_kernel($ho, $d_i, sub {
- my ($k, $cpio) = @_;
+ my ($kp, $k, $cpio) = @_;
$kernel = $k if defined $k;
push @initrds, $cpio if defined $cpio;
});