summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-14 15:17:32 +0000
committerJim Meyering <jim@meyering.net>1998-04-14 15:17:32 +0000
commit713c315978828f693f84e10302cdf895816b4c5e (patch)
tree4831719b6efec15cb5445f21c100a3c3386c95d3 /src/du.c
parent8cc46c2a189e0bf16dd83705604396da42bb3055 (diff)
downloadcoreutils-713c315978828f693f84e10302cdf895816b4c5e.tar.xz
Use STREQ in string equality tests, not strcmp.
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 165d0dfd8..b8a4c9aff 100644
--- a/src/du.c
+++ b/src/du.c
@@ -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;