summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ed65289)
SCCS-vsn: usr.bin/xargs/xargs.c 5.6
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)xargs.c 5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)xargs.c 5.6 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
char *prog, **argv;
{
union wait pstat;
char *prog, **argv;
{
union wait pstat;
"xargs: %s: %s.\n", prog, strerror(errno));
_exit(1);
}
"xargs: %s: %s.\n", prog, strerror(errno));
_exit(1);
}
- pid = waitpid(pid, &pstat, 0);
+ pid = waitpid(pid, (int *)&pstat, 0);
if (pid == -1) {
(void)fprintf(stderr,
"xargs: waitpid: %s.\n", strerror(errno));
if (pid == -1) {
(void)fprintf(stderr,
"xargs: waitpid: %s.\n", strerror(errno));