compositor-drm: fix weston_log format errors

compositor-drm.c: In function 'drm_output_set_cursor':
compositor-drm.c:754:4: warning: too few arguments for format
compositor-drm.c:759:4: warning: too few arguments for format

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen 2012-08-06 14:57:05 +03:00 committed by Kristian Høgsberg
parent d525b564ae
commit ae29da2eb8

View File

@ -751,12 +751,12 @@ drm_output_set_cursor(struct drm_output *output)
es->geometry.width * 4);
if (gbm_bo_write(bo, buf, sizeof buf) < 0)
weston_log("failed update cursor: %n\n");
weston_log("failed update cursor: %m\n");
handle = gbm_bo_get_handle(bo).s32;
if (drmModeSetCursor(c->drm.fd,
output->crtc_id, handle, 64, 64))
weston_log("failed to set cursor: %n\n");
weston_log("failed to set cursor: %m\n");
}
x = es->geometry.x - output->base.x;