OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70f34a
)
selftest/bpf: Fix spelling mistake "SIGALARM" -> "SIGALRM"
author
Colin Ian King
<colin.king@canonical.com>
Thu, 14 May 2020 12:15:29 +0000
(13:15 +0100)
committer
Alexei Starovoitov
<ast@kernel.org>
Fri, 15 May 2020 01:39:06 +0000
(18:39 -0700)
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
tools/testing/selftests/bpf/bench.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/bench.c
b/tools/testing/selftests/bpf/bench.c
index
8c0dfbf
..
1439068
100644
(file)
--- 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 SIGAL
A
RM handler: %d\n", -errno);
+ fprintf(stderr, "failed to install SIGALRM handler: %d\n", -errno);
exit(1);
}
timer_settings.it_interval.tv_sec = 1;