Commit 5b0004d9 authored by Colin Ian King's avatar Colin Ian King Committed by Alexei Starovoitov

selftest/bpf: Fix spelling mistake "SIGALARM" -> "SIGALRM"

There is a spelling mistake in an error message, fix it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200514121529.259668-1-colin.king@canonical.com
parent c70f34a8
...@@ -242,7 +242,7 @@ static void setup_timer() ...@@ -242,7 +242,7 @@ static void setup_timer()
last_time_ns = get_time_ns(); last_time_ns = get_time_ns();
err = sigaction(SIGALRM, &sigalarm_action, NULL); err = sigaction(SIGALRM, &sigalarm_action, NULL);
if (err < 0) { 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); exit(1);
} }
timer_settings.it_interval.tv_sec = 1; timer_settings.it_interval.tv_sec = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment