aboutsummaryrefslogtreecommitdiffstats
path: root/net/econet/af_econet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/econet/af_econet.c')
-rw-r--r--net/econet/af_econet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c
index 70fb2b88da65..4fc245243cca 100644
--- a/net/econet/af_econet.c
+++ b/net/econet/af_econet.c
@@ -687,7 +687,7 @@ static int econet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg
687 break; 687 break;
688 688
689 default: 689 default:
690 return dev_ioctl(cmd, argp); 690 return -ENOIOCTLCMD;
691 } 691 }
692 /*NOTREACHED*/ 692 /*NOTREACHED*/
693 return 0; 693 return 0;