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:
committed by
Luca Boccassi
parent
f45b42ea5d
commit
dce29c0c5f
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user