From ae29da2eb83bbf0afcf98d3a6c351adfe9179b50 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 6 Aug 2012 14:57:05 +0300 Subject: [PATCH] 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 --- src/compositor-drm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 33bffae4..d35588c0 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -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;