Fixup handling of pthread_mutex*() error returns
authorJens Axboe <jens.axboe@oracle.com>
Mon, 5 Jan 2009 08:45:13 +0000 (09:45 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 5 Jan 2009 08:45:13 +0000 (09:45 +0100)
commit4fa6d0f862ad56382199fbb68c05da484d3f7e20
treef4a5919f294574290c48daaec0149f67a37a3497
parent85daf2c1102ed4fdf1477cfd372046efbe08046e
Fixup handling of pthread_mutex*() error returns

They return the errno, not 0/-1. Thanks to
Fabio Checconi <fabio@gandalf.sssup.it>
for noticing this.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mutex.c