summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-12-06 14:40:35 -0500
committerBen Gamari <ben@smart-cactus.org>2023-01-09 15:22:50 -0500
commit7d7979eb8794a4ffdbb29e5ebc2e2a402fc07b88 (patch)
treebee2e140afb15969ac2db3b7ced00207a5935262
parentbe328c3193e9edc2d840351fad6693ba4b046195 (diff)
downloadhaskell-7d7979eb8794a4ffdbb29e5ebc2e2a402fc07b88.tar.gz
rts: Fix typo
"tracingAddCapabilities" was mis-named
-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 8afcf54ca0..a457629f79 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 6e08d0d2fd..10fd2bf87b 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 */