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/num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/nvmutil/lib/num.c') diff --git a/util/nvmutil/lib/num.c b/util/nvmutil/lib/num.c index 1ee8505d..0442b86c 100644 --- a/util/nvmutil/lib/num.c +++ b/util/nvmutil/lib/num.c @@ -80,7 +80,7 @@ rlong(void) sizeof(unsigned long), 0, IO_READ, LOOP_EAGAIN, LOOP_EINTR, MAX_ZERO_RW_RETRY, OFF_ERR); - if (x_i_close(fd) < 0) + if (close_on_eintr(fd) < 0) err(errno, "Can't close randomness fd"); if (nr != sizeof(unsigned long)) -- cgit v1.2.1