summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-06-19 04:22:28 +0000
committerJim Meyering <jim@meyering.net>1996-06-19 04:22:28 +0000
commite3c3d0b385565d3d71fee5c7d0d0b4fd69c7a149 (patch)
tree7af1ecfaca56f5e73ed15519c67ba061b472ce0b /src/ls.c
parentcfda609a21664425bf0f2a8bfafd480e4372334f (diff)
downloadcoreutils-e3c3d0b385565d3d71fee5c7d0d0b4fd69c7a149.tar.xz
(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index d9ac4120f..f97fddd8a 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1376,7 +1376,7 @@ parse_ls_color (void)
{
for (ind_no = 0; indicator_name[ind_no] != NULL; ++ind_no)
{
- if (strcmp (label, indicator_name[ind_no]) == 0)
+ if (STREQ (label, indicator_name[ind_no]))
{
color_indicator[ind_no].string = buf;
state = ((color_indicator[ind_no].len =