summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libsync/sync.c')
-rw-r--r--libsync/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsync/sync.c b/libsync/sync.c
index c20f15edc..489286673 100644
--- a/libsync/sync.c
+++ b/libsync/sync.c
@@ -27,9 +27,9 @@
27#include <sys/stat.h> 27#include <sys/stat.h>
28#include <sys/types.h> 28#include <sys/types.h>
29 29
30int sync_wait(int fd, unsigned int timeout) 30int sync_wait(int fd, int timeout)
31{ 31{
32 __u32 to = timeout; 32 __s32 to = timeout;
33 33
34 return ioctl(fd, SYNC_IOC_WAIT, &to); 34 return ioctl(fd, SYNC_IOC_WAIT, &to);
35} 35}