From 7d7979eb8794a4ffdbb29e5ebc2e2a402fc07b88 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 6 Dec 2022 14:40:35 -0500 Subject: rts: Fix typo "tracingAddCapabilities" was mis-named --- rts/Schedule.c | 2 +- rts/Trace.c | 2 +- rts/Trace.h | 2 +- 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 */ -- cgit v1.2.1