summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bench.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-05-14 15:15:29 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-05-15 04:39:06 +0300
commit5b0004d92b4511c39db0df23aa84395722f1d706 (patch)
tree1f58686adc6819a0b8bc18e6a08773330f6b3ac8 /tools/testing/selftests/bpf/bench.c
parentc70f34a8ac66c2cb05593ef5760142e5f862a9b4 (diff)
downloadlinux-5b0004d92b4511c39db0df23aa84395722f1d706.tar.xz
selftest/bpf: Fix spelling mistake "SIGALARM" -> "SIGALRM"
There is a spelling mistake in an error message, fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20200514121529.259668-1-colin.king@canonical.com
Diffstat (limited to 'tools/testing/selftests/bpf/bench.c')
-rw-r--r--tools/testing/selftests/bpf/bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/bench.c b/tools/testing/selftests/bpf/bench.c
index 8c0dfbfe6088..14390689ef90 100644
--- a/tools/testing/selftests/bpf/bench.c
+++ b/tools/testing/selftests/bpf/bench.c
@@ -242,7 +242,7 @@ static void setup_timer()
last_time_ns = get_time_ns();
err = sigaction(SIGALRM, &sigalarm_action, NULL);
if (err < 0) {
- fprintf(stderr, "failed to install SIGALARM handler: %d\n", -errno);
+ fprintf(stderr, "failed to install SIGALRM handler: %d\n", -errno);
exit(1);
}
timer_settings.it_interval.tv_sec = 1;