Module Name: src
Committed By: plunky
Date: Fri Dec 17 11:32:57 UTC 2010
Modified Files:
src/usr.bin/xargs: xargs.c
Log Message:
correct the error message (wait3->waitpid)
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/xargs/xargs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xargs/xargs.c
diff -u src/usr.bin/xargs/xargs.c:1.19 src/usr.bin/xargs/xargs.c:1.20
--- src/usr.bin/xargs/xargs.c:1.19 Mon Jul 21 14:19:28 2008
+++ src/usr.bin/xargs/xargs.c Fri Dec 17 11:32:57 2010
@@ -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");
}
/*