From d813bb481f31e75d216894f3681e6e2fc861dd43 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 25 Jan 2006 20:23:22 +0000 Subject: [PATCH] Changed error logging --- mbtask/taskibc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c index 551d6428..511e4fce 100644 --- a/mbtask/taskibc.c +++ b/mbtask/taskibc.c @@ -112,12 +112,12 @@ int lock_ibc(char *func) int rc; if (is_locked) { - WriteError("%s() mutex already locked", func); + WriteError("IBC: %s() mutex lock, already locked", func); return TRUE; } if ((rc = pthread_mutex_lock(&b_mutex))) { - WriteError("$%s() mutex lock", func); + WriteError("$IBC: %s() mutex lock", func); return TRUE; } @@ -132,13 +132,13 @@ void unlock_ibc(char *func) int rc; if (!is_locked) { - WriteError("%s() mutex unlock, was not locked", func); + WriteError("IBC: %s() mutex unlock, was not locked", func); return; } is_locked = FALSE; if ((rc = pthread_mutex_unlock(&b_mutex))) - WriteError("$%s() mutex unlock", func); + WriteError("$IBC: %s() mutex unlock", func); }