summaryrefslogtreecommitdiffstats
path: root/usr.bin/du/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/du/du.c')
-rw-r--r--usr.bin/du/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index c473e79..c4c564d 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -75,7 +75,7 @@ main(argc, argv)
Hflag = Lflag = Pflag = aflag = sflag = dflag = 0;
depth = INT_MAX;
ftsoptions = FTS_PHYSICAL;
- while ((ch = getopt(argc, argv, "HLPad:ksx")) != EOF)
+ while ((ch = getopt(argc, argv, "HLPad:ksx")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
OpenPOWER on IntegriCloud