Skip to content

Commit

Permalink
[PATCH] wait_for_helper: trivial style cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Mar 29, 2006
1 parent 6ac781b commit 8292d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8292d63

Please sign in to comment.