diff options
-rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c index ba0568c2cc1c..31905ff590b7 100644 --- a/arch/microblaze/kernel/sys_microblaze.c +++ b/arch/microblaze/kernel/sys_microblaze.c | |||
@@ -131,7 +131,7 @@ sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth) | |||
131 | ret = sys_shmctl(first, second, (struct shmid_ds *) ptr); | 131 | ret = sys_shmctl(first, second, (struct shmid_ds *) ptr); |
132 | break; | 132 | break; |
133 | } | 133 | } |
134 | return -EINVAL; | 134 | return ret; |
135 | } | 135 | } |
136 | 136 | ||
137 | asmlinkage int sys_vfork(struct pt_regs *regs) | 137 | asmlinkage int sys_vfork(struct pt_regs *regs) |