summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/eventlog/EventLog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index a5a100e8d4..b06f824a9e 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -1117,7 +1117,7 @@ void postThreadLabel(Capability *cap,
{
EventsBuf *eb;
int strsize = strlen(label);
- int size = strsize + sizeof(EventCapsetID);
+ int size = strsize + sizeof(EventThreadID);
eb = &capEventBuf[cap->no];