svn commit: r233012 - head/lib/libc/compat-43

Ed Schouten ed at FreeBSD.org
Thu Mar 15 21:19:51 UTC 2012


Author: ed
Date: Thu Mar 15 21:19:50 2012
New Revision: 233012
URL: http://svn.freebsd.org/changeset/base/233012

Log:
  Remove non-existing error condition.
  
  Just like kill(2), it is impossible for killpg(0, ...) to fail with
  ESRCH, as a process always has a process group.
  
  Discussed on:	arch@
  MFC after:	1 week

Modified:
  head/lib/libc/compat-43/killpg.2

Modified: head/lib/libc/compat-43/killpg.2
==============================================================================
--- head/lib/libc/compat-43/killpg.2	Thu Mar 15 19:36:52 2012	(r233011)
+++ head/lib/libc/compat-43/killpg.2	Thu Mar 15 21:19:50 2012	(r233012)
@@ -28,7 +28,7 @@
 .\"     @(#)killpg.2	8.1 (Berkeley) 6/2/93
 .\" $FreeBSD$
 .\"
-.Dd October 10, 2006
+.Dd March 15, 2012
 .Dt KILLPG 2
 .Os
 .Sh NAME
@@ -79,9 +79,6 @@ is not a valid signal number.
 .It Bq Er ESRCH
 No process can be found in the process group specified by
 .Fa pgrp .
-.It Bq Er ESRCH
-The process group was given as 0
-but the sending process does not have a process group.
 .It Bq Er EPERM
 The sending process is not the super-user and one or more
 of the target processes has an effective user ID different from that


More information about the svn-src-all mailing list