diff --git a/psys/src/strings.c b/psys/src/strings.c
index 63d2a9194f87050972316714f34657e278db82be..39ab87da7ae59a5f1c3e96d0203cb15187489b95 100644
--- a/psys/src/strings.c
+++ b/psys/src/strings.c
@@ -107,7 +107,8 @@ int strciends(char *s1, char *s2)
 
 	if (skip < 0)
 		return 0;
-	return strcicmp(s1 + skip, s2);
+	return !strcicmp(s1 + skip, s2);
+
 }
 
 /* case insensitive version of strcmp. */