mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Use NULL instead of 0 for pointer in example.
MFC after: 3 days
This commit is contained in:
parent
3b8199dbfc
commit
da881cad07
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL)
|
|||
/* error return */
|
||||
sigstk.ss_size = SIGSTKSZ;
|
||||
sigstk.ss_flags = 0;
|
||||
if (sigaltstack(&sigstk,0) < 0)
|
||||
if (sigaltstack(&sigstk, NULL) < 0)
|
||||
perror("sigaltstack");
|
||||
.Ed
|
||||
An alternative approach is provided for programs with signal handlers
|
||||
|
|
|
|||
Loading…
Reference in a new issue