diff options
| author | joerg <joerg@NetBSD.org> | 2012-02-24 16:03:39 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-02-24 16:03:39 +0000 |
| commit | 2bb88aa7caf31e08a52363f084b5c8dc14df79c2 (patch) | |
| tree | 60e87e3e1440fde2e5c8f3dbdb469034abfcb0ac /usr.bin/tip | |
| parent | 469eed334af971a6943674e132aad83edca7fe77 (diff) | |
Add explicit continue to empty loop body.
Diffstat (limited to 'usr.bin/tip')
| -rw-r--r-- | usr.bin/tip/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/cmds.c b/usr.bin/tip/cmds.c index 0b2d4faa79d..4449b994ba2 100644 --- a/usr.bin/tip/cmds.c +++ b/usr.bin/tip/cmds.c @@ -1,4 +1,4 @@ -/* $NetBSD: cmds.c,v 1.34 2012/02/23 23:39:19 joerg Exp $ */ +/* $NetBSD: cmds.c,v 1.35 2012/02/24 16:03:39 joerg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: cmds.c,v 1.34 2012/02/23 23:39:19 joerg Exp $"); +__RCSID("$NetBSD: cmds.c,v 1.35 2012/02/24 16:03:39 joerg Exp $"); #endif /* not lint */ #include "tip.h" @@ -888,7 +888,7 @@ expand(char aname[]) l = read(pivec[0], xname, BUFSIZ); (void)close(pivec[0]); while (wait(&s) != mypid) - ; + continue; s &= 0377; if (s != 0 && s != SIGPIPE) { (void)fprintf(stderr, "\"Echo\" failed\n"); |
