summaryrefslogtreecommitdiffstats
path: root/source/cEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cEvent.cpp b/source/cEvent.cpp
index 9b3ddcfdf..bf3109cf4 100644
--- a/source/cEvent.cpp
+++ b/source/cEvent.cpp
@@ -44,7 +44,7 @@ cEvent::cEvent(void)
}
else
{
- if( sem_unlink( c_Str ) != 0 )
+ if( sem_unlink(EventName.c_str()) != 0 )
{
LOGWARN("ERROR: Could not unlink cEvent. (%i)", errno);
}