Skip to content

Commit 23bf25c

Browse files
yuwatabluca
authored andcommitted
async: voidify call of fsync()
Fixes CID#1564787. (cherry picked from commit b0e5cde) (cherry picked from commit dce29c0) (cherry picked from commit b7b0f1c) (cherry picked from commit b5bc721)
1 parent d98e0ec commit 23bf25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/async.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int asynchronous_fsync(int fd, pid_t *ret_pid) {
4949
return r;
5050
if (r == 0) {
5151
/* Child process */
52-
fsync(fd);
52+
(void) fsync(fd);
5353
_exit(EXIT_SUCCESS);
5454
}
5555

0 commit comments

Comments
 (0)