aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/threading/rwlock.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-31 17:28:46 +0200
committerTobias Brunner <tobias@strongswan.org>2010-04-06 12:47:40 +0200
commit8b0e09103b5e7e55b20380c44f093b1cef95480c (patch)
tree2b231876b34c525a20ad2b5fc15d8aabb57eba99 /src/libstrongswan/threading/rwlock.c
parent9ed6341d3f1f48c9528a21b9d2da83bfc05bb756 (diff)
downloadstrongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.bz2
strongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.xz
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
Diffstat (limited to 'src/libstrongswan/threading/rwlock.c')
-rw-r--r--src/libstrongswan/threading/rwlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/threading/rwlock.c b/src/libstrongswan/threading/rwlock.c
index ee9fb10be..cec43f59c 100644
--- a/src/libstrongswan/threading/rwlock.c
+++ b/src/libstrongswan/threading/rwlock.c
@@ -98,7 +98,7 @@ static void read_lock(private_rwlock_t *this)
err = pthread_rwlock_rdlock(&this->rwlock);
if (err != 0)
{
- DBG1("!!! RWLOCK READ LOCK ERROR: %s !!!", strerror(err));
+ DBG1(DBG_LIB, "!!! RWLOCK READ LOCK ERROR: %s !!!", strerror(err));
}
profiler_end(&this->profile);
}
@@ -114,7 +114,7 @@ static void write_lock(private_rwlock_t *this)
err = pthread_rwlock_wrlock(&this->rwlock);
if (err != 0)
{
- DBG1("!!! RWLOCK WRITE LOCK ERROR: %s !!!", strerror(err));
+ DBG1(DBG_LIB, "!!! RWLOCK WRITE LOCK ERROR: %s !!!", strerror(err));
}
profiler_end(&this->profile);
}
@@ -137,7 +137,7 @@ static void rw_unlock(private_rwlock_t *this)
err = pthread_rwlock_unlock(&this->rwlock);
if (err != 0)
{
- DBG1("!!! RWLOCK UNLOCK ERROR: %s !!!", strerror(err));
+ DBG1(DBG_LIB, "!!! RWLOCK UNLOCK ERROR: %s !!!", strerror(err));
}
}