From: Yu Watanabe Date: Tue, 18 Feb 2025 17:34:13 +0000 (+0900) Subject: async: voidify call of fsync() X-Git-Tag: v258-rc1~1198^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0e5cde687dacf885e4000da804ddcd900a83152;p=thirdparty%2Fsystemd.git async: voidify call of fsync() Fixes CID#1564787. --- diff --git a/src/shared/async.c b/src/shared/async.c index acde1b11d7d..8d65062285e 100644 --- a/src/shared/async.c +++ b/src/shared/async.c @@ -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); }