async: voidify call of fsync()
Fixes CID#1564787.
This commit is contained in:
+1
-1
@@ -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