summaryrefslogtreecommitdiff
path: root/util/nvmutil/lib/num.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 07:45:34 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-19 07:45:34 +0000
commit1fbe972fa757f10fd6b0b138ce3ab5b0d5cffac8 (patch)
treef222261d8ccd771c88c1ff077a2844465fe1e444 /util/nvmutil/lib/num.c
parentdcf698b9a0b33d08a70be40631e8c502e909a2a5 (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/num.c')
-rw-r--r--util/nvmutil/lib/num.c2
1 files changed, 1 insertions, 1 deletions
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))