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