util/nvmutil: don't reset errno in check_read_or_die

we want to debug it after the fact; this is now handled,
in the calling functions (unhandled error exceptions).

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-04 01:39:34 +00:00
parent 94415ca73d
commit 84b4ba48b4
-2
View File
@@ -450,9 +450,7 @@ check_read_or_die(const char *rpath, ssize_t rval, size_t rsize,
/*
* Bad read, with errno EINTR (syscall interrupted).
* Reset the error state and try again.
*/
errno = 0;
return 0;
}