From: Bruce Cran Date: Fri, 29 Mar 2013 16:02:53 +0000 (+0000) Subject: Fix rwlock error messages to specify the correct function names. X-Git-Tag: fio-2.0.15~7 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=cdb57fe2e6ab3418e0e137282be46201b1f5acc0;ds=sidebyside Fix rwlock error messages to specify the correct function names. Signed-off-by: Jens Axboe --- diff --git a/mutex.c b/mutex.c index 5a65e53a..d1e3ceae 100644 --- a/mutex.c +++ b/mutex.c @@ -196,13 +196,13 @@ struct fio_rwlock *fio_rwlock_init(void) ret = pthread_rwlockattr_init(&attr); if (ret) { - log_err("pthread_rwlock_init: %s\n", strerror(ret)); + log_err("pthread_rwlockattr_init: %s\n", strerror(ret)); goto err; } #ifdef FIO_HAVE_PSHARED_MUTEX ret = pthread_rwlockattr_setpshared(&attr, PTHREAD_PROCESS_SHARED); if (ret) { - log_err("pthread_rwlock_init: %s\n", strerror(ret)); + log_err("pthread_rwlockattr_setpshared: %s\n", strerror(ret)); goto destroy_attr; } #endif