Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adf52f80 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "gpu: ion: make startswith more truthful"

parents 9fe932ed f38b1e7c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -702,6 +702,8 @@ static bool startswith(const char *string, const char *prefix)
{
	size_t l1 = strlen(string);
	size_t l2 = strlen(prefix);
	if (l2 > l1)
		return false;
	return strncmp(string, prefix, min(l1, l2)) == 0;
}