1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-24 09:49:49 +03:00

async: voidify call of fsync()

Fixes CID#1564787.

(cherry picked from commit b0e5cde687)
This commit is contained in:
Yu Watanabe
2025-02-19 02:34:13 +09:00
committed by Luca Boccassi
parent f45b42ea5d
commit dce29c0c5f

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);
}