diff options
Diffstat (limited to 'usr.bin/du/du.c')
-rw-r--r-- | usr.bin/du/du.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 00c1f5e..73583e3 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -140,16 +140,16 @@ main(int argc, char *argv[]) cflag = 1; break; case 'h': - putenv("BLOCKSIZE=512"); + setenv("BLOCKSIZE", "512", 1); hflag = 1; break; case 'k': hflag = 0; - putenv("BLOCKSIZE=1024"); + setenv("BLOCKSIZE", "1024", 1); break; case 'm': hflag = 0; - putenv("BLOCKSIZE=1048576"); + setenv("BLOCKSIZE", "1048576", 1); break; case 'n': nodumpflag = 1; |