nvmutil: rename x_i_close to close_on_eintr

that's what it does. waits for eintr to stop firing

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-19 07:45:34 +00:00
parent d9f2aff95c
commit f4ea610014
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -260,13 +260,13 @@ exit_cleanup(void)
f = &x->f;
if (f->gbe_fd > -1) {
if (x_i_close(f->gbe_fd) == -1)
if (close_on_eintr(f->gbe_fd) == -1)
close_err = 1;
f->gbe_fd = -1;
}
if (f->tmp_fd > -1) {
if (x_i_close(f->tmp_fd) == -1)
if (close_on_eintr(f->tmp_fd) == -1)
close_err = 1;
}