async: voidify call of fsync()

Fixes CID#1564787.
This commit is contained in:
Yu Watanabe
2025-02-19 02:34:13 +09:00
parent 9fd25fd3ce
commit b0e5cde687

View File

@@ -49,7 +49,7 @@ int asynchronous_fsync(int fd, pid_t *ret_pid) {
return r;
if (r == 0) {
/* Child process */
fsync(fd);
(void) fsync(fd);
_exit(EXIT_SUCCESS);
}