aboutsummaryrefslogtreecommitdiff
path: root/sensor.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-08-25 15:46:13 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2011-08-25 15:46:13 +0200
commit25fc4a3e710aec3632a6f34a073427fe90b365a9 (patch)
treec59cf3e55966ae5e973655e70037aaa623acabd0 /sensor.c
parentc80da0255e5d9e99da95b38d1c078887f6020e40 (diff)
downloadpowerdebug-25fc4a3e710aec3632a6f34a073427fe90b365a9.tar.gz
follow symlinks when browsing the directory tree
Sometime we are interested in following the symlinks, sometime not. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'sensor.c')
-rw-r--r--sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensor.c b/sensor.c
index e172f88..ff1e3dd 100644
--- a/sensor.c
+++ b/sensor.c
@@ -271,7 +271,7 @@ static struct display_ops sensor_ops = {
int sensor_init(void)
{
- sensor_tree = tree_load(SYSFS_SENSOR, sensor_filter_cb);
+ sensor_tree = tree_load(SYSFS_SENSOR, sensor_filter_cb, false);
if (!sensor_tree)
return -1;