diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 02:07:12 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:41 +0000 |
| commit | 31835eb8e3233b230680fc067617c1efd0b8c56c (patch) | |
| tree | d79710d20ca646d9e020dca6016d9d43ec9b42b5 /util/nvmutil/nvmutil.c | |
| parent | 4b667f0d195036fe0107089a0623366f45592e62 (diff) | |
set errno
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -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); |
