diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index d08c29d9..2f694bd7 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -139,7 +139,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name) return NULL; } ret = readlink (path, link, sizeof (link) - 1); - if (ret == -1) { + if (-1 == ret) { fprintf (stderr, _("%s: Cannot read symbolic link %s: %s\n"), Prog, path, strerror (errno));