On Sat, May 31, 2014 at 10:39:39PM +1200, Chris Packham wrote:
> On 31/05/14 08:58, Jeremiah Mahler wrote:
> > From signal(2) man page:
> > - signal(SIGCHLD, SIG_DFL);
> > + memset(&sa, 0, sizeof(sa));
> > + sa.sa_handler = SIG_DFL;
> > + sigaction(SIGCHLD, &sa, 0);
> I think this got lost in the wash with v1 but
> Documentation/CodingGuidelines says to use NULL here instead of 0.
Got it. Will be in to the next revision.
sigaction(SIGCHLD, &sa, NULL);
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html