diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/watchdog/cpu5wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/cpu5wdt.c b/drivers/char/watchdog/cpu5wdt.c index 20eb6c3e9853..5941ca601a3a 100644 --- a/drivers/char/watchdog/cpu5wdt.c +++ b/drivers/char/watchdog/cpu5wdt.c | |||
@@ -164,7 +164,7 @@ static int cpu5wdt_ioctl(struct inode *inode, struct file *file, unsigned int cm | |||
164 | break; | 164 | break; |
165 | case WDIOC_GETBOOTSTATUS: | 165 | case WDIOC_GETBOOTSTATUS: |
166 | if ( copy_to_user(argp, &value, sizeof(int)) ) | 166 | if ( copy_to_user(argp, &value, sizeof(int)) ) |
167 | retrun -EFAULT; | 167 | return -EFAULT; |
168 | break; | 168 | break; |
169 | case WDIOC_GETSUPPORT: | 169 | case WDIOC_GETSUPPORT: |
170 | if ( copy_to_user(argp, &ident, sizeof(ident)) ) | 170 | if ( copy_to_user(argp, &ident, sizeof(ident)) ) |