(exynos_gfx.c) Use memcmp
This commit is contained in:
parent
62d9e087c4
commit
aa2c29ac8b
|
@ -181,7 +181,7 @@ static int exynos_get_device_index(void)
|
|||
|
||||
ver = drmGetVersion(fd);
|
||||
|
||||
if (string_is_equal("exynos", ver->name))
|
||||
if (memcmp(ver->name, "exynos", 6) == 0)
|
||||
found = true;
|
||||
else
|
||||
++index;
|
||||
|
|
Loading…
Reference in New Issue