Skip to content

Commit

Permalink
microblaze: Fix return value for sys_ipc
Browse files Browse the repository at this point in the history
Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed May 1, 2009
1 parent 595e8fa commit c71a7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/sys_microblaze.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth)
ret = sys_shmctl(first, second, (struct shmid_ds *) ptr);
break;
}
return -EINVAL;
return ret;
}

asmlinkage int sys_vfork(struct pt_regs *regs)
Expand Down

0 comments on commit c71a7a3

Please sign in to comment.