[ipxe-devel] [ipxe/ipxe] [util] Fix a syntax error in ROM.pm. (#89)
dbankov-vmware
notifications at github.com
Thu Feb 7 10:04:28 UTC 2019
This change replaces "my $file_offset = shift // 0x0;" (which produces a
runtime error) with "my $file_offset = scalar @_ ? shift : 0x0;" where
the intention is 0x0 to be the default value used if the optional
file_offset parameter is not provided.
You can view, comment on, or merge this pull request online at:
https://github.com/ipxe/ipxe/pull/89
-- Commit Summary --
* [util] Fix a syntax error in ROM.pm.
-- File Changes --
M src/util/Option/ROM.pm (2)
-- Patch Links --
https://github.com/ipxe/ipxe/pull/89.patch
https://github.com/ipxe/ipxe/pull/89.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/89
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20190207/e1192675/attachment.htm>
More information about the ipxe-devel
mailing list