mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: re-add EINTR loop check on rw
accidentally removed it during re-factor Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1445,6 +1445,9 @@ rw_file_exact(int fd, uint8_t *mem, size_t len,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (rval < 0 && errno == EINTR)
|
||||
continue;
|
||||
|
||||
set_err_if_unset(EIO);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user