Reverse comparison for consistency.

This commit is contained in:
nekral-guest 2010-03-18 18:58:52 +00:00
parent 8e2010a26c
commit 395914c162

View File

@ -139,7 +139,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name)
return NULL; return NULL;
} }
ret = readlink (path, link, sizeof (link) - 1); ret = readlink (path, link, sizeof (link) - 1);
if (ret == -1) { if (-1 == ret) {
fprintf (stderr, fprintf (stderr,
_("%s: Cannot read symbolic link %s: %s\n"), _("%s: Cannot read symbolic link %s: %s\n"),
Prog, path, strerror (errno)); Prog, path, strerror (errno));