From: Changbin Du <changbin...@intel.com>

It mistakenly set debugfs root path to "/debug/dri", so correct it.

Signed-off-by: Changbin Du <changbin...@intel.com>
---
 overlay/debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/overlay/debugfs.c b/overlay/debugfs.c
index 9f3e5cc..5516949 100644
--- a/overlay/debugfs.c
+++ b/overlay/debugfs.c
@@ -40,7 +40,7 @@ int debugfs_init(void)
        int n;
 
        if (stat("/debug/dri", &st) == 0) {
-               path = "/debug/dri";
+               path = "/debug";
                goto find_minor;
        }
 
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to