set errno

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-15 02:07:12 +00:00
parent 5d95d4dfe9
commit fdf2e68163

View File

@@ -2087,7 +2087,7 @@ real_pread_pwrite:
do {
if (off != verified)
return -1;
goto err_prw;
if (rw_type == IO_PREAD)
r = read(fd, mem, nrw);