mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
nvmutil: fix rval in close_files
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -2024,7 +2024,10 @@ close_files(void)
|
|||||||
if (saved_errno)
|
if (saved_errno)
|
||||||
errno = saved_errno;
|
errno = saved_errno;
|
||||||
|
|
||||||
return -(close_err_gbe | close_err_rand);
|
if (close_err_gbe || close_err_rand)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user