mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
nvmutil: fix bad return status on error
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user