2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-07-10 06:41:33 +00:00
Files
xNBA/src
Michael Brown e662912c53 [efi] Avoid accidentally calling main() twice
EFIRC() uses PLATFORM_TO_ERRNO(), which evaluates its argument twice
(and can't trivially use a braced-group expression or an inline
function to avoid this, since it gets used outside of function
context).

The expression "EFIRC(main())" will therefore end up calling main()
twice, which is not the intended behaviour.  Every other instance of
EFIRC() is of the simple form "EFIRC(rc)", so fix by converting this
instance to match.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-03-14 16:20:55 +00:00
..
2007-06-09 22:57:00 +01:00
2010-04-19 23:43:39 +01:00
2014-01-12 22:53:16 +01:00
2010-05-29 23:49:47 +01:00