summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/Schedule.c2
-rw-r--r--rts/Trace.c2
-rw-r--r--rts/Trace.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index ba4e066ae5..94f756c5e4 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -2322,7 +2322,7 @@ setNumCapabilities (uint32_t new_n_capabilities USED_IF_THREADS)
// must be done before calling moreCapabilities(), because that
// will emit events about creating the new capabilities and adding
// them to existing capsets.
- tracingAddCapapilities(n_capabilities, new_n_capabilities);
+ tracingAddCapabilities(n_capabilities, new_n_capabilities);
#endif
// Resize the capabilities array
diff --git a/rts/Trace.c b/rts/Trace.c
index 18bb827cc4..77e3bf0bd9 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -143,7 +143,7 @@ void flushTrace ()
}
}
-void tracingAddCapapilities (uint32_t from, uint32_t to)
+void tracingAddCapabilities (uint32_t from, uint32_t to)
{
if (eventlog_enabled) {
moreCapEventBufs(from,to);
diff --git a/rts/Trace.h b/rts/Trace.h
index 6b1d797a30..c66da4ae4e 100644
--- a/rts/Trace.h
+++ b/rts/Trace.h
@@ -28,7 +28,7 @@ void initTracing (void);
void endTracing (void);
void freeTracing (void);
void resetTracing (void);
-void tracingAddCapapilities (uint32_t from, uint32_t to);
+void tracingAddCapabilities (uint32_t from, uint32_t to);
#endif /* TRACING */