patch-2.4.21 linux-2.4.21/arch/sparc/kernel/sys_sparc.c
Next file: linux-2.4.21/arch/sparc/kernel/systbls.S
Previous file: linux-2.4.21/arch/sparc/kernel/sunos_asm.S
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/sparc/kernel/sys_sparc.c
- Orig date:
2001-04-13 20:15:55.000000000 -0700
diff -urN linux-2.4.20/arch/sparc/kernel/sys_sparc.c linux-2.4.21/arch/sparc/kernel/sys_sparc.c
@@ -140,7 +140,7 @@
goto out;
}
default:
- err = -EINVAL;
+ err = -ENOSYS;
goto out;
}
if (call <= MSGCTL)
@@ -173,7 +173,7 @@
err = sys_msgctl (first, second, (struct msqid_ds *) ptr);
goto out;
default:
- err = -EINVAL;
+ err = -ENOSYS;
goto out;
}
if (call <= SHMCTL)
@@ -205,11 +205,11 @@
err = sys_shmctl (first, second, (struct shmid_ds *) ptr);
goto out;
default:
- err = -EINVAL;
+ err = -ENOSYS;
goto out;
}
else
- err = -EINVAL;
+ err = -ENOSYS;
out:
return err;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)