mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] wait_for_helper: trivial style cleanup
Use NULL instead of (... *)0 Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6ac781b11a
commit
8292d633ad
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ static int wait_for_helper(void *data)
|
|||
sa.sa.sa_handler = SIG_IGN;
|
||||
sa.sa.sa_flags = 0;
|
||||
siginitset(&sa.sa.sa_mask, sigmask(SIGCHLD));
|
||||
do_sigaction(SIGCHLD, &sa, (struct k_sigaction *)0);
|
||||
do_sigaction(SIGCHLD, &sa, NULL);
|
||||
allow_signal(SIGCHLD);
|
||||
|
||||
pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD);
|
||||
|
|
Loading…
Reference in a new issue