Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xargs correct the error message (wait3->waitpid)



details:   https://anonhg.NetBSD.org/src/rev/facfd6186f39
branches:  trunk
changeset: 759823:facfd6186f39
user:      plunky <plunky%NetBSD.org@localhost>
date:      Fri Dec 17 11:32:57 2010 +0000

description:
correct the error message (wait3->waitpid)

diffstat:

 usr.bin/xargs/xargs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 26f394d8d5c3 -r facfd6186f39 usr.bin/xargs/xargs.c
--- a/usr.bin/xargs/xargs.c     Fri Dec 17 10:35:10 2010 +0000
+++ b/usr.bin/xargs/xargs.c     Fri Dec 17 11:32:57 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xargs.c,v 1.19 2008/07/21 14:19:28 lukem Exp $ */
+/*     $NetBSD: xargs.c,v 1.20 2010/12/17 11:32:57 plunky Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -42,7 +42,7 @@
 static char sccsid[] = "@(#)xargs.c    8.1 (Berkeley) 6/6/93";
 __FBSDID("$FreeBSD: src/usr.bin/xargs/xargs.c,v 1.62 2006/01/01 22:59:54 jmallett Exp $");
 #endif
-__RCSID("$NetBSD: xargs.c,v 1.19 2008/07/21 14:19:28 lukem Exp $");
+__RCSID("$NetBSD: xargs.c,v 1.20 2010/12/17 11:32:57 plunky Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -610,7 +610,7 @@
                }
        }
        if (pid == -1 && errno != ECHILD)
-               err(1, "wait3");
+               err(1, "waitpid");
 }
 
 /*



Home | Main Index | Thread Index | Old Index