From a11d9c9f425983747d8cba92cd08f31ec5601913 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 16 Jun 2022 13:54:40 +0000 Subject: shmaddr is a pointer, so use NULL instead 0f --- lib/libc/sys/shmat.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/sys') diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index ba90ab3b9a3..b7f237e7f44 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmat.2,v 1.16 2014/11/15 22:19:53 guenther Exp $ +.\" $OpenBSD: shmat.2,v 1.17 2022/06/16 13:54:39 deraadt Exp $ .\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: November 15 2014 $ +.Dd $Mdocdate: June 16 2022 $ .Dt SHMAT 2 .Os .Sh NAME @@ -51,7 +51,7 @@ into the address space of the calling process. The address at which the segment is mapped is determined by the .Fa shmaddr parameter. -If it is equal to 0, the system will pick an address itself. +If it is equal to NULL, the system will pick an address itself. Otherwise, an attempt is made to map the shared memory segment at the address .Fa shmaddr -- cgit v1.2.3