Commit c3ce3611 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by james toy

Trivial, s/0/SI_USER/ in collect_signal() for grep.

This is a bit confusing, we don't know the source of this signal.
But we don't care, and "info->si_code = 0" is imho worse.
Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 3791609a
......@@ -400,7 +400,7 @@ still_pending:
*/
info->si_signo = sig;
info->si_errno = 0;
info->si_code = 0;
info->si_code = SI_USER;
info->si_pid = 0;
info->si_uid = 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment