From aa2c29ac8b744f31b601aa84e398ee433c7ff4f3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Apr 2017 09:34:30 +0200 Subject: [PATCH] (exynos_gfx.c) Use memcmp --- gfx/drivers/exynos_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/exynos_gfx.c b/gfx/drivers/exynos_gfx.c index 7cb08690cb..1e5b2def70 100644 --- a/gfx/drivers/exynos_gfx.c +++ b/gfx/drivers/exynos_gfx.c @@ -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;