diff options
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r-- | lib/igt_debugfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 3cc22cbf..498e53dd 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -109,8 +109,7 @@ static bool __igt_debugfs_init(igt_debugfs_t *debugfs) strcpy(debugfs->root, __debugfs_mount()); for (n = 0; n < 16; n++) { - int len = sprintf(debugfs->dri_path, - "%s/dri/%d", debugfs->root, n); + int len = sprintf(debugfs->dri_path, "%s/%d", debugfs->root, n); sprintf(debugfs->dri_path + len, "/i915_error_state"); if (stat(debugfs->dri_path, &st) == 0) { debugfs->dri_path[len] = '\0'; |