2020-05-14 12:17:36

by Colin King

[permalink] [raw]
Subject: [PATCH][next] selftest/bpf: fix spelling mistake "SIGALARM" -> "SIGALRM"

From: Colin Ian King <[email protected]>

There is a spelling mistake in an error message, fix it.

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

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;
--
2.25.1


2020-05-14 15:03:30

by Yonghong Song

[permalink] [raw]
Subject: Re: [PATCH][next] selftest/bpf: fix spelling mistake "SIGALARM" -> "SIGALRM"



On 5/14/20 5:15 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an error message, fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Yonghong Song <[email protected]>

2020-05-15 01:44:55

by Alexei Starovoitov

[permalink] [raw]
Subject: Re: [PATCH][next] selftest/bpf: fix spelling mistake "SIGALARM" -> "SIGALRM"

On Thu, May 14, 2020 at 8:01 AM Yonghong Song <[email protected]> wrote:
>
>
>
> On 5/14/20 5:15 AM, Colin King wrote:
> > From: Colin Ian King <[email protected]>
> >
> > There is a spelling mistake in an error message, fix it.
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> Acked-by: Yonghong Song <[email protected]>

Applied. Thanks