SIG_DFL is a handler, not a sigaction

SVN revision: 24766
This commit is contained in:
sebastid 2006-08-15 20:20:33 +00:00 committed by sebastid
parent 6cb39ba7a3
commit 5d1b63007e
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ _desklock_auth(const char *passwd)
char *current_user, *p;
struct sigaction action;
action.sa_sigaction = SIG_DFL;
action.sa_handler = SIG_DFL;
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
sigemptyset(&action.sa_mask);
sigaction(SIGSEGV, &action, NULL);