diff options
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/power.c b/overlay/power.c index 6c5c3749..2f1521b8 100644 --- a/overlay/power.c +++ b/overlay/power.c @@ -45,7 +45,7 @@ static int perf_open(void) attr.type = i915_type_id(); if (attr.type == 0) - return -ENOENT; + return -1; attr.config = I915_PERF_ENERGY; attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED; |