diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 02:07:12 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 02:07:12 +0000 |
| commit | fdf2e68163f17d5441484d543d78d0bb0a2bb573 (patch) | |
| tree | 2c99464dc741f9e1578bb03a56e01912913196cf /util/nvmutil | |
| parent | 5d95d4dfe93f40ec00a2f0953747b06cd2af0a2a (diff) | |
set errno
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index d510a9ea..4cc35505 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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); |
