Subversion Repositories shark

Compare Revisions

Regard whitespace Rev 1118 → Rev 1119

/demos/trunk/base/sig.c
18,11 → 18,11
 
/**
------------
CVS : $Id: sig.c,v 1.1 2002-10-28 08:13:37 pj Exp $
CVS : $Id: sig.c,v 1.2 2002-11-11 08:20:44 pj Exp $
 
File: $File$
Revision: $Revision: 1.1 $
Last update: $Date: 2002-10-28 08:13:37 $
Revision: $Revision: 1.2 $
Last update: $Date: 2002-11-11 08:20:44 $
------------
**/
 
115,7 → 115,7
}
 
action.sa_flags = 0;
action.sa_handler = catchit;
action.sa_handler = (void (*)(int))catchit;
 
if (sigaction(SIGILL, &action, NULL) == -1) {
perror("Error using sigaction.");