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:
parent
d525b564ae
commit
ae29da2eb8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user