diff options
Diffstat (limited to 'source/cSemaphore.cpp')
-rw-r--r-- | source/cSemaphore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cSemaphore.cpp b/source/cSemaphore.cpp index 438b83e2c..6fe8f6d5b 100644 --- a/source/cSemaphore.cpp +++ b/source/cSemaphore.cpp @@ -28,7 +28,7 @@ cSemaphore::cSemaphore( unsigned int a_MaxCount, unsigned int a_InitialCount /* }
else
{
- if( sem_unlink( c_Str ) != 0 )
+ if( sem_unlink(Name.c_str()) != 0 )
{
LOG("ERROR: Could not unlink cSemaphore. (%i)", errno);
}
|