summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sigaltstack.24
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