From da0f1cf57083c17d047d64bda53d63bd728fed7c Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 6 Feb 2014 21:06:59 +0000 Subject: [PATCH] lib/display: Print the fb id, not its pointer in the set_fb() log message Signed-off-by: Damien Lespiau --- lib/igt_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index b601c64..54e3cdd 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1412,8 +1412,8 @@ void igt_plane_set_fb(igt_plane_t *plane, struct kmstest_fb *fb) igt_pipe_t *pipe = plane->pipe; igt_display_t *display = pipe->display; - LOG(display, "%c.%d: plane_set_fb(%p)\n", pipe_name(pipe->pipe), - plane->index, fb); + LOG(display, "%c.%d: plane_set_fb(%d)\n", pipe_name(pipe->pipe), + plane->index, fb ? fb->fb_id : 0); plane->fb = fb; -- 2.7.4