diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-01 04:53:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-01 04:53:00 +0000 |
commit | 6825954d90078d920e517f2183790e0d6434f214 (patch) | |
tree | d8f6fe83375b3089a9a802d1cf54154b31438915 /usr.bin/xargs | |
parent | 2cca60a5dca5db8c9aeeb5b47d83d03486301b53 (diff) |
spacing
Diffstat (limited to 'usr.bin/xargs')
-rw-r--r-- | usr.bin/xargs/strnsubst.c | 6 | ||||
-rw-r--r-- | usr.bin/xargs/xargs.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/xargs/strnsubst.c b/usr.bin/xargs/strnsubst.c index 977c9f051b2..fddc9352147 100644 --- a/usr.bin/xargs/strnsubst.c +++ b/usr.bin/xargs/strnsubst.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strnsubst.c,v 1.2 2003/06/12 03:23:22 millert Exp $ */ +/* $OpenBSD: strnsubst.c,v 1.3 2005/11/01 04:52:58 deraadt Exp $ */ /* $FreeBSD: strnsubst.c,v 1.6 2002/06/22 12:58:42 jmallett Exp $ */ /* @@ -10,7 +10,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: strnsubst.c,v 1.2 2003/06/12 03:23:22 millert Exp $"; +static const char rcsid[] = "$OpenBSD: strnsubst.c,v 1.3 2005/11/01 04:52:58 deraadt Exp $"; #endif /* not lint */ #include <err.h> @@ -73,7 +73,7 @@ done: #ifdef TEST #include <stdio.h> -int +int main(void) { char *x, *y, *z, *za; diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c index 56318a6d990..77c74df28d4 100644 --- a/usr.bin/xargs/xargs.c +++ b/usr.bin/xargs/xargs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xargs.c,v 1.23 2005/09/26 20:32:04 fgsch Exp $ */ +/* $OpenBSD: xargs.c,v 1.24 2005/11/01 04:52:59 deraadt Exp $ */ /* $FreeBSD: xargs.c,v 1.51 2003/05/03 19:09:11 obrien Exp $ */ /*- @@ -45,7 +45,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)xargs.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: xargs.c,v 1.23 2005/09/26 20:32:04 fgsch Exp $"; +static const char rcsid[] = "$OpenBSD: xargs.c,v 1.24 2005/11/01 04:52:59 deraadt Exp $"; #endif #endif /* not lint */ @@ -539,7 +539,7 @@ exec: close(fd); } execvp(argv[0], argv); - warn("%s", argv[0]); + warn("%s", argv[0]); _exit(errno == ENOENT ? 127 : 126); } curprocs++; @@ -566,7 +566,7 @@ waitchildren(const char *name, int waitall) if (WEXITSTATUS(status) == 255) { warnx("%s exited with status 255", name); exit(124); - } else if (WEXITSTATUS(status) == 127 || + } else if (WEXITSTATUS(status) == 127 || WEXITSTATUS(status) == 126) { exit(WEXITSTATUS(status)); } else if (WEXITSTATUS(status) != 0) { @@ -609,7 +609,7 @@ prompt(void) (void)fclose(ttyfp); return (0); } - response[rsize - 1] = '\0'; + response[rsize - 1] = '\0'; match = regexec(&cre, response, 0, NULL, 0); (void)fclose(ttyfp); regfree(&cre); |