summaryrefslogtreecommitdiffstats
path: root/usr.sbin/trpt
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/trpt')
-rw-r--r--usr.sbin/trpt/trpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index 5e351fa..55c0f6d 100644
--- a/usr.sbin/trpt/trpt.c
+++ b/usr.sbin/trpt/trpt.c
@@ -114,7 +114,7 @@ main(argc, argv)
off_t lseek();
jflag = npcbs = 0;
- while ((ch = getopt(argc, argv, "afjp:st")) != EOF)
+ while ((ch = getopt(argc, argv, "afjp:st")) != -1)
switch (ch) {
case 'a':
++aflag;
OpenPOWER on IntegriCloud