lbmk/util/nvmutil
Leah Rowe 85937f3f4c util/nvmutil: reset errno on cmd_swap
If one of the checksums was valid, but the other was not,
errno would be set to E_CANCELED, but then the buffer would
be modified anyway; this is acceptable behaviour, and errno
would later be reset writing the GBE file, which is done
only on the condition that the buffer was modified, but
it's also a good idea to reset it here just in case.

This is not a bugfix, and no behavioural changes will be
observed by the user, but this may *prevent* a bug in the
future, so let's pre-fix that bug now.
2022-12-01 13:16:05 +00:00
..
AUTHORS assimilate nvmutil 2022-11-17 12:07:09 +00:00
COPYING assimilate nvmutil 2022-11-17 12:07:09 +00:00
ChangeLog.md assimilate nvmutil 2022-11-17 12:07:09 +00:00
Makefile assimilate nvmutil 2022-11-17 12:07:09 +00:00
README.md assimilate nvmutil 2022-11-17 12:07:09 +00:00
nvmutil.c util/nvmutil: reset errno on cmd_swap 2022-12-01 13:16:05 +00:00

README.md

This documentation has become part of lbwww. See:

https://libreboot.org/docs/install/nvmutil.html