mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 22:12:40 +02:00
668dec36e9
checking against -1 is incorrect, because we specifically want to ensure that it always read the number of bytes defined by the size of rnum. this still covers the case where the return value is -1, and therefore makes the error handling much stricter. Signed-off-by: Leah Rowe <leah@libreboot.org>