diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-04-22 13:23:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-04-22 13:23:47 +0000 |
commit | b8355953dc59b3e5e2eebcdf75a6e7ce8c5a23e2 (patch) | |
tree | f2b6d289c9737cffed08e6b19606b869790bc996 /lib/libc | |
parent | ec8a7dfe1ac8494adf53dd75ce49acf1a0b5d0fc (diff) |
use NULL for pointer
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/sigaltstack.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index 58d6c4dcfa1..55854991fe4 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaltstack.2,v 1.22 2018/04/22 12:55:11 deraadt Exp $ +.\" $OpenBSD: sigaltstack.2,v 1.23 2018/04/22 13:23:46 deraadt Exp $ .\" $NetBSD: sigaltstack.2,v 1.3 1995/02/27 10:41:52 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1992, 1993 @@ -115,7 +115,7 @@ if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL) /* error return */ sigstk.ss_size = SIGSTKSZ; sigstk.ss_flags = 0; -if (sigaltstack(&sigstk, 0) == -1) +if (sigaltstack(&sigstk, NULL) == -1) perror("sigaltstack"); .Ed .Pp |