summaryrefslogtreecommitdiffstats
path: root/usr.bin/banner/banner.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/banner/banner.c')
-rw-r--r--usr.bin/banner/banner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/banner/banner.c b/usr.bin/banner/banner.c
index d6d4392..566286f 100644
--- a/usr.bin/banner/banner.c
+++ b/usr.bin/banner/banner.c
@@ -1030,7 +1030,7 @@ main(argc, argv)
{
int ch;
- while ((ch = getopt(argc, argv, "w:td")) != EOF)
+ while ((ch = getopt(argc, argv, "w:td")) != -1)
switch(ch) {
case 'w':
width = atoi(optarg);
OpenPOWER on IntegriCloud