mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
async: voidify call of fsync()
Fixes CID#1564787.
This commit is contained in:
@@ -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