aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_i2c_sensors.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin_i2c_sensors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_i2c_sensors.c b/plugin_i2c_sensors.c
index 5d1c57f..14fcfa2 100644
--- a/plugin_i2c_sensors.c
+++ b/plugin_i2c_sensors.c
@@ -296,7 +296,7 @@ static int configure_i2c_sensors(void)
path_cfg = realloc(path_cfg, strlen(path_cfg) + 2);
strcat(path_cfg, "/");
}
- debug("using i2c sensors at %s (from %s)", path, cfg_source());
+ debug("using i2c sensors at %s (from %s)", path_cfg, cfg_source());
path = realloc(path, strlen(path_cfg) + 1);
strcpy(path, path_cfg);
}