diff options
Diffstat (limited to 'libsync/sync.c')
-rw-r--r-- | libsync/sync.c | 4 |
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 @@ #include <sys/stat.h> #include <sys/types.h> -int sync_wait(int fd, unsigned int timeout) +int sync_wait(int fd, int timeout) { - __u32 to = timeout; + __s32 to = timeout; return ioctl(fd, SYNC_IOC_WAIT, &to); } |