signal: fix typo in dequeue_synchronous_signal()
s/postive/positive/ Signed-off-by: Pavel Machek (CIP) <pavel@denx.de> Link: https://lore.kernel.org/r/20200724090531.GA14409@amd [christian.brauner@ubuntu.com: tweak commit message] Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
92ed301919
commit
7665a47f70
|
@ -719,7 +719,7 @@ static int dequeue_synchronous_signal(kernel_siginfo_t *info)
|
||||||
* Return the first synchronous signal in the queue.
|
* Return the first synchronous signal in the queue.
|
||||||
*/
|
*/
|
||||||
list_for_each_entry(q, &pending->list, list) {
|
list_for_each_entry(q, &pending->list, list) {
|
||||||
/* Synchronous signals have a postive si_code */
|
/* Synchronous signals have a positive si_code */
|
||||||
if ((q->info.si_code > SI_USER) &&
|
if ((q->info.si_code > SI_USER) &&
|
||||||
(sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) {
|
(sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) {
|
||||||
sync = q;
|
sync = q;
|
||||||
|
|
Loading…
Reference in New Issue