summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 07:38:54 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-19 07:38:54 +0000
commit6d0bb47b82bc1ef471f22d349c423892af090558 (patch)
tree57f8a2ff02eb7d5a7b1cd2cbc142910e0c308b7f /util
parent846cb235853c553e7196c131dd0dd6a688116de3 (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')
-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;