summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-12 04:28:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-12 04:28:45 +0000
commit583cd66bd18d6e3ac9f2e06b7b79b3bf48c9a25b (patch)
tree011abd00f1d172c30f654e39919229b2826d3441 /bin
parenteaa38700566d98cff5088d521718edd842adee7d (diff)
a dangling do / while that was very very ugly
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/jobs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ksh/jobs.c b/bin/ksh/jobs.c
index 46f6c6dd72e..b31ff5266ee 100644
--- a/bin/ksh/jobs.c
+++ b/bin/ksh/jobs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: jobs.c,v 1.37 2009/01/29 23:27:26 jaredy Exp $ */
+/* $OpenBSD: jobs.c,v 1.38 2009/12/12 04:28:44 deraadt Exp $ */
/*
* Process and job control
@@ -1146,8 +1146,7 @@ found:
p->state = PEXITED;
check_job(j); /* check to see if entire job is done */
- }
- while (1);
+ } while (1);
errno = errno_;
}