summaryrefslogtreecommitdiffstats
path: root/usr.bin/apply
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-06-09 19:21:35 +0000
committercharnier <charnier@FreeBSD.org>2003-06-09 19:21:35 +0000
commitf41e5c9c45b4a13abcc0770af2caced3f123112e (patch)
tree088f46dfef311a71bd3361a2a1dc26fae0b3569c /usr.bin/apply
parent5cbf9aa68d3a8fe72c182165b14ab407a98d5fac (diff)
downloadFreeBSD-src-f41e5c9c45b4a13abcc0770af2caced3f123112e.zip
FreeBSD-src-f41e5c9c45b4a13abcc0770af2caced3f123112e.tar.gz
Revert previous commit, from Bruce:
This is a style bug. err() is declared is non-returning so that every use of it doesn't need to be encrufted with NOTREACHED. It's too bad that only gcc understands the declaration. Asked by: bde@
Diffstat (limited to 'usr.bin/apply')
-rw-r--r--usr.bin/apply/apply.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c
index e75c2ee..25ba374 100644
--- a/usr.bin/apply/apply.c
+++ b/usr.bin/apply/apply.c
@@ -242,7 +242,6 @@ exec_shell(const char *command, char *use_shell, char *use_name)
switch(pid = vfork()) {
case -1: /* error */
err(1, "vfork");
- /* NOTREACHED */
case 0: /* child */
(void)sigsetmask(omask);
execl(use_shell, use_name, "-c", command, (char *)NULL);
OpenPOWER on IntegriCloud