mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
async: voidify call of fsync()
Fixes CID#1564787. (cherry picked from commit b0e5cde687dacf885e4000da804ddcd900a83152)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user