diff options
author | obrien <obrien@FreeBSD.org> | 2003-03-30 21:25:16 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-03-30 21:25:16 +0000 |
commit | f1f15d7a3fb188e14c3a7361516c270b2bf897ef (patch) | |
tree | 95ab60823652ea38a9dc1b03447f102f5181bb3a | |
parent | 17460ae6f38602104fac0166923723fb78310c3d (diff) | |
download | FreeBSD-src-f1f15d7a3fb188e14c3a7361516c270b2bf897ef.zip FreeBSD-src-f1f15d7a3fb188e14c3a7361516c270b2bf897ef.tar.gz |
-{h,k} are mutually exclisive. So only pay attention to the last of the
two when both are given.
-rw-r--r-- | usr.bin/du/du.c | 4 |
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; |