summaryrefslogtreecommitdiffstats
path: root/usr.bin/du
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/du')
-rw-r--r--usr.bin/du/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index ef05fc7..9f8e741 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -165,8 +165,8 @@ main(int argc, char *argv[])
valp = vals_base2;
break;
case 'k':
- if (!hflag)
- putenv("BLOCKSIZE=1024");
+ hflag = 0;
+ putenv("BLOCKSIZE=1024");
break;
case 'r': /* Compatibility. */
break;
OpenPOWER on IntegriCloud