From: Pekka Paalanen Date: Mon, 6 Aug 2012 11:57:05 +0000 (+0300) Subject: compositor-drm: fix weston_log format errors X-Git-Tag: submit/trunk/20120814.155504~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae29da2eb83bbf0afcf98d3a6c351adfe9179b50;p=profile%2Fivi%2Fweston.git 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 --- diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 33bffae..d35588c 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;