dect
/
linux-2.6
Archived
13
0
Fork 0

[WATCHDOG] git-watchdog-typo

From: Andrew Morton <akpm@linux-foundation.org>

This driver isn't very coding-style friendly.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Andrew Morton 2007-07-24 00:07:27 -07:00 committed by Wim Van Sebroeck
parent c0e962f93d
commit 4e24f4edb6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static int cpu5wdt_ioctl(struct inode *inode, struct file *file, unsigned int cm
break;
case WDIOC_GETBOOTSTATUS:
if ( copy_to_user(argp, &value, sizeof(int)) )
retrun -EFAULT;
return -EFAULT;
break;
case WDIOC_GETSUPPORT:
if ( copy_to_user(argp, &ident, sizeof(ident)) )