Use correct field of sigaction struct

This commit is contained in:
Guido van Rossum 1996-05-29 14:15:19 +00:00
parent 3672aa2dcd
commit 1835c4f1b4

View file

@ -265,7 +265,7 @@ initsignal()
#ifdef HAVE_SIGACTION
struct sigaction act;
sigaction(i, 0, &act);
t = act.sa_flags;
t = act.sa_handler;
#else
t = signal(i, SIG_IGN);
signal(i, t);