diff options
Diffstat (limited to 'scull/main.c')
-rw-r--r-- | scull/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scull/main.c b/scull/main.c index 1bf14a7..3c78fba 100644 --- a/scull/main.c +++ b/scull/main.c @@ -389,8 +389,7 @@ ssize_t scull_write(struct file *filp, const char __user *buf, size_t count, * The ioctl() implementation */ -int scull_ioctl(struct file *filp, unsigned int cmd, - unsigned long arg) +long scull_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { int err = 0, tmp; |