From: Colin Ian King <[email protected]>

There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
 tools/perf/tests/event_update.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
index cac4290e233a..7f0868a31a7f 100644
--- a/tools/perf/tests/event_update.c
+++ b/tools/perf/tests/event_update.c
@@ -92,7 +92,7 @@ int test__event_update(struct test *test __maybe_unused, int 
subtest __maybe_unu
 
        evsel = perf_evlist__first(evlist);
 
-       TEST_ASSERT_VAL("failed to allos ids",
+       TEST_ASSERT_VAL("failed to allocate ids",
                        !perf_evsel__alloc_id(evsel, 1, 1));
 
        perf_evlist__id_add(evlist, evsel, 0, 0, 123);
-- 
2.20.1

Reply via email to