(exynos_gfx.c) Use memcmp

This commit is contained in:
twinaphex 2017-04-22 09:34:30 +02:00
parent 62d9e087c4
commit aa2c29ac8b

View File

@ -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;