mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 06:44:35 +08:00
kselftest/arm64: Fix spelling misakes of signal names
There are a couple of spelling mistakes of signame names. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220907170902.687340-1-colin.i.king@gmail.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
parent
af3ce550a6
commit
537addee1e
@ -247,7 +247,7 @@ static void handle_child_signal(int sig, siginfo_t *info, void *context)
|
||||
}
|
||||
|
||||
if (!found)
|
||||
ksft_print_msg("SIGCHILD for unknown PID %d with status %d\n",
|
||||
ksft_print_msg("SIGCHLD for unknown PID %d with status %d\n",
|
||||
info->si_pid, info->si_status);
|
||||
}
|
||||
|
||||
@ -457,7 +457,7 @@ int main(int argc, char **argv)
|
||||
strerror(errno), errno);
|
||||
ret = sigaction(SIGTERM, &sa, NULL);
|
||||
if (ret < 0)
|
||||
ksft_print_msg("Failed to install SIGTEM handler: %s (%d)\n",
|
||||
ksft_print_msg("Failed to install SIGTERM handler: %s (%d)\n",
|
||||
strerror(errno), errno);
|
||||
sa.sa_sigaction = handle_child_signal;
|
||||
ret = sigaction(SIGCHLD, &sa, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user