diff options
author | charnier <charnier@FreeBSD.org> | 2003-06-09 19:21:35 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2003-06-09 19:21:35 +0000 |
commit | f41e5c9c45b4a13abcc0770af2caced3f123112e (patch) | |
tree | 088f46dfef311a71bd3361a2a1dc26fae0b3569c | |
parent | 5cbf9aa68d3a8fe72c182165b14ab407a98d5fac (diff) | |
download | FreeBSD-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@
-rw-r--r-- | usr.bin/apply/apply.c | 1 |
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); |