projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fgets: avoid arithmetic overflow when n==INT_MIN is passed
[musl]
/
src
/
linux
/
syncfs.c
diff --git
a/src/linux/syncfs.c
b/src/linux/syncfs.c
index
fe2b8a7
..
bc7d301
100644
(file)
--- a/
src/linux/syncfs.c
+++ b/
src/linux/syncfs.c
@@
-2,7
+2,7
@@
#include <unistd.h>
#include "syscall.h"
-
void
syncfs(int fd)
+
int
syncfs(int fd)
{
-
__
syscall(SYS_syncfs, fd);
+
return
syscall(SYS_syncfs, fd);
}