summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 07:38:54 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:42 +0000
commit2ddb9019c80b92cf41dfde1c13e424caece5b567 (patch)
tree2db294fe52249bf498b515f46dceeaa8a6f7b8e4 /util/nvmutil
parent861cc855803f67334f3bc377d664ab54be34b5cb (diff)
util/rename: rename x_i_fsync
rename to fsync_on_eintr, because that's what it does Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/lib/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/lib/file.c b/util/nvmutil/lib/file.c
index 63ac7d0d..d9ec3011 100644
--- a/util/nvmutil/lib/file.c
+++ b/util/nvmutil/lib/file.c
@@ -147,7 +147,7 @@ fsync_dir(const char *path)
}
/* sync file on disk */
- if (x_i_fsync(dirfd) == -1)
+ if (fsync_on_eintr(dirfd) == -1)
goto err_fsync_dir;
if (x_i_close(dirfd) == -1)
@@ -924,7 +924,7 @@ x_i_close(int fd)
}
int
-x_i_fsync(int fd)
+fsync_on_eintr(int fd)
{
int r;