=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/join/join.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/join/join.c 1998/11/16 06:09:12 1.11 +++ src/usr.bin/join/join.c 1999/07/23 23:37:34 1.12 @@ -1,4 +1,4 @@ -/* $Id: join.c,v 1.11 1998/11/16 06:09:12 deraadt Exp $ */ +/* $Id: join.c,v 1.12 1999/07/23 23:37:34 aaron Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -45,7 +45,7 @@ #ifndef lint /*static char sccsid[] = "@(#)join.c 8.6 (Berkeley) 5/4/95"; */ -static char rcsid[] = "$Id: join.c,v 1.11 1998/11/16 06:09:12 deraadt Exp $"; +static char rcsid[] = "$Id: join.c,v 1.12 1999/07/23 23:37:34 aaron Exp $"; #endif /* not lint */ #include @@ -505,7 +505,7 @@ if (needsep++) putchar((int)*tabchar); if (!ferror(stdout)) { - if (lp->fieldcnt < fieldno || out_empty) { + if (lp->fieldcnt <= fieldno || out_empty) { if (empty != NULL) fputs(empty, stdout); } else {