X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fthermal.c;h=9da8fa5fbb1d92c7a9d80b9defbce04b3f10fdf0;hp=456ae879d28527050c01018de988c4e9774a99bd;hb=e746ad785774de37a30302fef65f1c4aaf8698ab;hpb=f81a5a84d3d5fc941b624c28b1ab70971cc23ac9 diff --git a/src/thermal.c b/src/thermal.c index 456ae879..9da8fa5f 100644 --- a/src/thermal.c +++ b/src/thermal.c @@ -99,7 +99,7 @@ static int thermal_procfs_device_read(const char __attribute__((unused)) * dir, */ len = snprintf(filename, sizeof(filename), "%s/%s/temperature", - dirname_procfs, name); + dirname_procfs, name); if ((len < 0) || ((size_t)len >= sizeof(filename))) return -1;