From 1fbe972fa757f10fd6b0b138ce3ab5b0d5cffac8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 19 Mar 2026 07:45:34 +0000 Subject: 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 --- util/nvmutil/lib/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/nvmutil/lib/state.c') 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; } -- cgit v1.2.1