diff options
Diffstat (limited to 'drivers/watchdog/scx200_wdt.c')
-rw-r--r-- | drivers/watchdog/scx200_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/scx200_wdt.c b/drivers/watchdog/scx200_wdt.c index fd5c09446bce..9e19a10a5bb9 100644 --- a/drivers/watchdog/scx200_wdt.c +++ b/drivers/watchdog/scx200_wdt.c | |||
@@ -143,7 +143,7 @@ static ssize_t scx200_wdt_write(struct file *file, const char __user *data, | |||
143 | expect_close = 0; | 143 | expect_close = 0; |
144 | for (i = 0; i < len; ++i) { | 144 | for (i = 0; i < len; ++i) { |
145 | char c; | 145 | char c; |
146 | if (get_user(c, data+i)) | 146 | if (get_user(c, data + i)) |
147 | return -EFAULT; | 147 | return -EFAULT; |
148 | if (c == 'V') | 148 | if (c == 'V') |
149 | expect_close = 42; | 149 | expect_close = 42; |