diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 07:45:34 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-19 07:45:34 +0000 |
| commit | 1fbe972fa757f10fd6b0b138ce3ab5b0d5cffac8 (patch) | |
| tree | f222261d8ccd771c88c1ff077a2844465fe1e444 /util/nvmutil/lib/state.c | |
| parent | dcf698b9a0b33d08a70be40631e8c502e909a2a5 (diff) | |
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>
Diffstat (limited to 'util/nvmutil/lib/state.c')
| -rw-r--r-- | util/nvmutil/lib/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/lib/state.c b/util/nvmutil/lib/state.c index 55d2deea..946b8919 100644 --- a/util/nvmutil/lib/state.c +++ b/util/nvmutil/lib/state.c @@ -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; } |
