diff options
-rw-r--r-- | fs/inotify_user.c | 2 | ||||
-rw-r--r-- | include/linux/syscalls.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/inotify_user.c b/fs/inotify_user.c index d85c7d931cdf..c1f9115acb35 100644 --- a/fs/inotify_user.c +++ b/fs/inotify_user.c @@ -707,7 +707,7 @@ fput_and_out: return ret; } -asmlinkage long sys_inotify_rm_watch(int fd, u32 wd) +asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd) { struct file *filp; struct inotify_device *dev; diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index d6ff145919ca..36983a5a839a 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -550,7 +550,7 @@ asmlinkage long sys_inotify_init(void); asmlinkage long sys_inotify_init1(int flags); asmlinkage long sys_inotify_add_watch(int fd, const char __user *path, u32 mask); -asmlinkage long sys_inotify_rm_watch(int fd, u32 wd); +asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd); asmlinkage long sys_spu_run(int fd, __u32 __user *unpc, __u32 __user *ustatus); |