mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
selftests/harness: fix spelling mistake "SIGARLM" -> "SIGALRM"
There a few identical spelling mistakes, fix these. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
ffa773e101
commit
d925c89695
@ -705,7 +705,7 @@ static void __timeout_handler(int sig, siginfo_t *info, void *ucontext)
|
||||
/* Sanity check handler execution environment. */
|
||||
if (!t) {
|
||||
fprintf(TH_LOG_STREAM,
|
||||
"no active test in SIGARLM handler!?\n");
|
||||
"no active test in SIGALRM handler!?\n");
|
||||
abort();
|
||||
}
|
||||
if (sig != SIGALRM || sig != info->si_signo) {
|
||||
@ -731,7 +731,7 @@ void __wait_for_test(struct __test_metadata *t)
|
||||
if (sigaction(SIGALRM, &action, &saved_action)) {
|
||||
t->passed = 0;
|
||||
fprintf(TH_LOG_STREAM,
|
||||
"%s: unable to install SIGARLM handler\n",
|
||||
"%s: unable to install SIGALRM handler\n",
|
||||
t->name);
|
||||
return;
|
||||
}
|
||||
@ -743,7 +743,7 @@ void __wait_for_test(struct __test_metadata *t)
|
||||
if (sigaction(SIGALRM, &saved_action, NULL)) {
|
||||
t->passed = 0;
|
||||
fprintf(TH_LOG_STREAM,
|
||||
"%s: unable to uninstall SIGARLM handler\n",
|
||||
"%s: unable to uninstall SIGALRM handler\n",
|
||||
t->name);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user