diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-04-22 02:54:00 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-04-22 02:54:00 +0100 |
| commit | 40cb95b15eedfb58c94ad199bf836f37f6bb465b (patch) | |
| tree | 7ad00e07d0b2b1717fbdb30ae98df645b1853836 /util/nvmutil/nvmutil.c | |
| parent | 4bf88a8081fda888179b4e3022d7b91e2af76ed1 (diff) | |
nvmutil: fix bad return status on error
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 61a3737a..c1f1389b 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -472,7 +472,7 @@ writeGbe(void) err_if(nw == -1); if (nw != nf) { errno = ECANCELED; - err(EXIT_SUCCESS, + err(EXIT_FAILURE, "%ld bytes written to '%s', expected %ld bytes\n", nw, filename, nf); } |
