ipc: Fix error code returned by mutex_lock().
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 10:18:11 +0000 (12:18 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 10:32:06 +0000 (12:32 +0200)
commit01af36ee3cd794f4332c4898828a31aafe0a939f
tree9d9c923e1e4da0eaeb19056eb85ed3e0f2477d7a
parentee132d4f3e81eaaaeee94ceaf9f960c50bc7d448
ipc: Fix error code returned by mutex_lock().

In the error case do_semop() already returns the error code which
corresponds to errno.
ipc.c