diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-14 15:17:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-14 15:17:32 +0000 |
commit | 713c315978828f693f84e10302cdf895816b4c5e (patch) | |
tree | 4831719b6efec15cb5445f21c100a3c3386c95d3 /src/du.c | |
parent | 8cc46c2a189e0bf16dd83705604396da42bb3055 (diff) | |
download | coreutils-713c315978828f693f84e10302cdf895816b4c5e.tar.xz |
Use STREQ in string equality tests, not strcmp.
Diffstat (limited to 'src/du.c')
-rw-r--r-- | src/du.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -274,7 +274,7 @@ main (int argc, char **argv) human_readable_base = 1024; output_units = 1; } - else if (bs && strcmp (bs, "SI") == 0) + else if (bs && STREQ (bs, "SI")) { human_readable_base = 1000; output_units = 1; |