summaryrefslogtreecommitdiff
path: root/src/df.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/df.c
parent8cc46c2a189e0bf16dd83705604396da42bb3055 (diff)
downloadcoreutils-713c315978828f693f84e10302cdf895816b4c5e.tar.xz
Use STREQ in string equality tests, not strcmp.
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/df.c b/src/df.c
index c14e89ce3..82cb419e8 100644
--- a/src/df.c
+++ b/src/df.c
@@ -583,7 +583,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;