summaryrefslogtreecommitdiff
path: root/overlay/power.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-23 15:59:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-23 16:00:16 +0100
commitb22e90bc8b9c7fe27556558c31f00e35e689a12e (patch)
treeab3844b5012a310fe4a4c6bfedcc17f564438489 /overlay/power.c
parent9574cb1a3de0dfe45c59420e2cb9a74fc23baecc (diff)
overlay: Distinguish the root debugfs path and our dri node
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/power.c')
-rw-r--r--overlay/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/power.c b/overlay/power.c
index e69b1a19..62aba8b5 100644
--- a/overlay/power.c
+++ b/overlay/power.c
@@ -42,7 +42,7 @@ int power_init(struct power *power)
memset(power, 0, sizeof(*power));
- sprintf(buf, "%s/i915_energy_uJ", debugfs_path);
+ sprintf(buf, "%s/i915_energy_uJ", debugfs_dri_path);
fd = open(buf, 0);
if (fd < 0)
return power->error = errno;