diff options
Diffstat (limited to 'lib/igt_psr.c')
-rw-r--r-- | lib/igt_psr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_psr.c b/lib/igt_psr.c index 0ddfb64f..c105bb6e 100644 --- a/lib/igt_psr.c +++ b/lib/igt_psr.c @@ -28,7 +28,7 @@ static bool psr_active(int debugfs_fd, bool check_active) { bool active; - char buf[512]; + char buf[PSR_STATUS_MAX_LEN]; igt_debugfs_simple_read(debugfs_fd, "i915_edp_psr_status", buf, sizeof(buf)); |