summaryrefslogtreecommitdiff
path: root/usr.bin/paste/paste.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-08-29 05:30:15 +0000
committerWarner Losh <imp@FreeBSD.org>1997-08-29 05:30:15 +0000
commit228f50a90c03088066d876b02657d89a13880757 (patch)
tree7bc1b95dcd0b73ab85415f25c2a49a5db206286c /usr.bin/paste/paste.c
parent4a796f06acb443b965b3c5681305648088812d9c (diff)
Notes
Diffstat (limited to 'usr.bin/paste/paste.c')
-rw-r--r--usr.bin/paste/paste.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/paste/paste.c b/usr.bin/paste/paste.c
index 4d477a16e569..bba63a3bcaa9 100644
--- a/usr.bin/paste/paste.c
+++ b/usr.bin/paste/paste.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: paste.c,v 1.1.1.1.8.1 1997/08/01 06:44:23 charnier Exp $";
+ "$Id: paste.c,v 1.1.1.1.8.2 1997/08/05 03:40:23 asami Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -73,7 +73,7 @@ main(argc, argv)
int ch, seq;
seq = 0;
- while ((ch = getopt(argc, argv, "d:s")) != EOF)
+ while ((ch = getopt(argc, argv, "d:s")) != -1)
switch(ch) {
case 'd':
delimcnt = tr(delim = optarg);