From 147d945600cb227d90f85724f5a3cb127b02b9e9 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 11 Jan 2019 16:49:05 +0000 Subject: [PATCH] warn - make buffer bigger to avoid trunc warn --- src/modules/sysinfo/thermal/thermal_fallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sysinfo/thermal/thermal_fallback.c b/src/modules/sysinfo/thermal/thermal_fallback.c index 56fee6e11..3ed6a89db 100644 --- a/src/modules/sysinfo/thermal/thermal_fallback.c +++ b/src/modules/sysinfo/thermal/thermal_fallback.c @@ -11,7 +11,7 @@ temperature_get_bus_files(const char *bus) { Eina_List *result; Eina_List *therms; - char path[PATH_MAX]; + char path[PATH_MAX + 3]; char busdir[PATH_MAX]; char *name;