diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-18 22:21:35 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-18 22:21:35 +0000 |
commit | b68c35a11da849a2680ba77bf565038fd8f30dd0 (patch) | |
tree | f1709df6d5d7c35d5eecc57045445219640aa2ac /src | |
parent | 9342bc3dfd64b338c0802793f311574323067652 (diff) |
sna: Fix typo in debugfs paths
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/kgem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index bf852ac1..32c10236 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -2879,7 +2879,7 @@ static void dump_gtt_info(void) char path[80]; FILE *file; - sprintf(path, "/sys/kernel/debug/dri%d/i915_gem_gtt", i); + sprintf(path, "/sys/kernel/debug/dri/%d/i915_gem_gtt", i); file = fopen(path, "r"); if (file) { size_t len = 0; @@ -2902,7 +2902,7 @@ static void dump_fence_regs(void) char path[80]; FILE *file; - sprintf(path, "/sys/kernel/debug/dri%d/i915_gem_fence_regs", i); + sprintf(path, "/sys/kernel/debug/dri/%d/i915_gem_fence_regs", i); file = fopen(path, "r"); if (file) { size_t len = 0; |