diff options
Diffstat (limited to 'src/threads.cc')
| -rw-r--r-- | src/threads.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threads.cc b/src/threads.cc index fbced09..ba17086 100644 --- a/src/threads.cc +++ b/src/threads.cc @@ -146,10 +146,10 @@ Semaphore::~Semaphore(void){ int ErrorCode; if((ErrorCode = pthread_mutex_destroy(&this->mutex)) != 0){ error("Semaphore::~Semaphore: Kann Mutex nicht freigeben: (%d) %s.\n", - ErrorCode, strerrordesc_np(ErrorCode)); + ErrorCode, GetErrorDescription(ErrorCode)); }else if((ErrorCode = pthread_cond_destroy(&this->condition)) != 0){ error("Semaphore::~Semaphore: Kann Wartebedingung nicht freigeben: (%d) %s.\n", - ErrorCode, strerrordesc_np(ErrorCode)); + ErrorCode, GetErrorDescription(ErrorCode)); } } |
