summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-05-24 12:15:43 +0000
committermillert <millert@openbsd.org>2014-05-24 12:15:43 +0000
commitc18f30118e5186213e20bf758585909caaad30d7 (patch)
treee785bd30ae31fb8ef60246f3b9f7b2f39a6b987d /lib/libc
parentRemove errant double quote; from Jean-Philippe Ouellet (diff)
downloadwireguard-openbsd-c18f30118e5186213e20bf758585909caaad30d7.tar.xz
wireguard-openbsd-c18f30118e5186213e20bf758585909caaad30d7.zip
Fix typo in EPERM description; the function arg is pgrp, not pgid.
From Abel Abraham Camarillo Ojeda
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/setpgid.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2
index 4f8c49d6a52..7f0a53010c4 100644
--- a/lib/libc/sys/setpgid.2
+++ b/lib/libc/sys/setpgid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setpgid.2,v 1.14 2013/05/08 14:19:44 jmc Exp $
+.\" $OpenBSD: setpgid.2,v 1.15 2014/05/24 12:15:43 millert Exp $
.\" $NetBSD: setpgid.2,v 1.8 1995/02/27 12:36:55 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)setpgid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 8 2013 $
+.Dd $Mdocdate: May 24 2014 $
.Dt SETPGID 2
.Os
.Sh NAME
@@ -80,7 +80,7 @@ is either a session leader or not in the same session as the calling
process.
.It Bq Er EPERM
The value of the
-.Fa pgid
+.Fa pgrp
argument is neither the PID of the process indicated by the
.Fa pid
argument nor the process group ID of an existing process group in