diff options
| author | Sean Farley <scf@FreeBSD.org> | 2007-07-04 00:00:41 +0000 |
|---|---|---|
| committer | Sean Farley <scf@FreeBSD.org> | 2007-07-04 00:00:41 +0000 |
| commit | 2966d28c322dcfa4b9db2558da0b91839e7798b9 (patch) | |
| tree | 423c7d016f87f6541b9ef8231a14f8b267bc5d5e /usr.bin/du | |
| parent | f6c1ecca50279edac3eb930eecd72ff23bfd85dc (diff) | |
Notes
Diffstat (limited to 'usr.bin/du')
| -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 00c1f5e728d0..73583e320b94 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; |
