lkml.org 
[lkml]   [2003]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] M68k sys_ipc ENOSYS
M68k: Fix sys_ipc() to return ENOSYS instead of EINVAL as appropriate.

--- linux-2.5.x/arch/m68k/kernel/sys_m68k.c 21 Jun 2002 07:50:53 -0000 1.1.1.2
+++ linux-m68k-2.5.x/arch/m68k/kernel/sys_m68k.c 8 Apr 2003 08:41:59 -0000
@@ -202,7 +202,7 @@
return sys_semctl (first, second, third, fourth);
}
default:
- return -EINVAL;
+ return -ENOSYS;
}
if (call <= MSGCTL)
switch (call) {
@@ -233,7 +233,7 @@
return sys_msgctl (first, second,
(struct msqid_ds *) ptr);
default:
- return -EINVAL;
+ return -ENOSYS;
}
if (call <= SHMCTL)
switch (call) {
@@ -256,7 +256,7 @@
return sys_shmctl (first, second,
(struct shmid_ds *) ptr);
default:
- return -EINVAL;
+ return -ENOSYS;
}

return -EINVAL;
Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.031 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site