From c18f30118e5186213e20bf758585909caaad30d7 Mon Sep 17 00:00:00 2001 From: millert Date: Sat, 24 May 2014 12:15:43 +0000 Subject: [PATCH] Fix typo in EPERM description; the function arg is pgrp, not pgid. From Abel Abraham Camarillo Ojeda --- lib/libc/sys/setpgid.2 | 6 +++--- 1 file 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 -- 2.20.1