diff options
author | Bruce Cran <bruce@cran.org.uk> | 2013-03-29 16:02:53 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-29 10:38:03 -0600 |
commit | cdb57fe2e6ab3418e0e137282be46201b1f5acc0 (patch) | |
tree | 71a09fa59e7d4bc298a3b7fcac2a15a7ebd9bc91 /mutex.c | |
parent | a7448122c349bd3689f808e87680e1d3c30ec85c (diff) | |
download | fio-cdb57fe2e6ab3418e0e137282be46201b1f5acc0.tar.gz |
Fix rwlock error messages to specify the correct function names.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |