mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] M68k sys_ipc ENOSYS
@ 2003-05-11 10:31 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2003-05-11 10:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Development, Geert Uytterhoeven

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-11 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-11 10:31 [PATCH] M68k sys_ipc ENOSYS Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®