diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
| commit | 9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc (patch) | |
| tree | b5a6ada1388aeb7553694b736fde6dc7d114dbff /usr.bin/join/join.c | |
| parent | adbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff) | |
Notes
Diffstat (limited to 'usr.bin/join/join.c')
| -rw-r--r-- | usr.bin/join/join.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c index 276f98848d2e2..a0229b538a906 100644 --- a/usr.bin/join/join.c +++ b/usr.bin/join/join.c @@ -46,7 +46,7 @@ static const char copyright[] = static char sccsid[] = "@(#)join.c 8.6 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: join.c,v 1.7 1997/07/15 09:57:28 charnier Exp $"; + "$Id: join.c,v 1.8 1997/08/19 15:58:15 jlemon Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -458,7 +458,7 @@ outfield(lp, fieldno, out_empty) { if (needsep++) (void)printf("%c", *tabchar); - if (!ferror(stdout)) + if (!ferror(stdout)) { if (lp->fieldcnt <= fieldno || out_empty) { if (empty != NULL) (void)printf("%s", empty); @@ -467,6 +467,7 @@ outfield(lp, fieldno, out_empty) return; (void)printf("%s", lp->fields[fieldno]); } + } if (ferror(stdout)) err(1, "stdout"); } |
