summaryrefslogtreecommitdiffstats
path: root/usr.bin/col/col.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/col/col.c')
-rw-r--r--usr.bin/col/col.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c
index e911688..88d024e 100644
--- a/usr.bin/col/col.c
+++ b/usr.bin/col/col.c
@@ -134,7 +134,7 @@ main(argc, argv)
max_bufd_lines = 128;
compress_spaces = 1; /* compress spaces into tabs */
- while ((opt = getopt(argc, argv, "bfhl:x")) != EOF)
+ while ((opt = getopt(argc, argv, "bfhl:x")) != -1)
switch (opt) {
case 'b': /* do not output backspaces */
no_backspaces = 1;
OpenPOWER on IntegriCloud