X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fthermal.c;h=9da8fa5fbb1d92c7a9d80b9defbce04b3f10fdf0;hb=ba1015262cdc912f9d01ab5a76037e65033c54c5;hp=456ae879d28527050c01018de988c4e9774a99bd;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git 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;