maint: avoid new syntax-check failure

* src/diff.c (compare_files): Use STREQ, not strcmp.
This commit is contained in:
Jim Meyering 2012-01-12 14:04:17 +01:00
parent e3324651cc
commit 6e51ccfb4e

View File

@ -1311,7 +1311,7 @@ compare_files (struct comparison const *parent,
}
if (status == EXIT_SUCCESS)
{
if (strcmp (link_value[0], link_value[1]) != 0)
if ( ! STREQ (link_value[0], link_value[1]))
{
message ("Symbolic links %s and %s differ\n",
cmp.file[0].name, cmp.file[1].name);