lib/display: Print the fb id, not its pointer in the set_fb() log message

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau 2014-02-06 21:06:59 +00:00
parent da896537b8
commit da0f1cf570

View File

@ -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;