Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bf1496d authored by Wim Van Sebroeck's avatar Wim Van Sebroeck
Browse files

[WATCHDOG] omap_wdt.c - default error for IOCTL is -ENOTTY



The default value for an unknown ioctl call is -ENOTTY.

Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 6abe78bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ omap_wdt_ioctl(struct inode *inode, struct file *file,

	switch (cmd) {
	default:
		return -ENOIOCTLCMD;
		return -ENOTTY;
	case WDIOC_GETSUPPORT:
		return copy_to_user((struct watchdog_info __user *)arg, &ident,
				sizeof(ident));