From d3ed6cb3b1ff2b7a2d2e864e6df6b35562426f82 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Fri, 10 Jan 2014 10:15:17 -0800 Subject: [PATCH] drm: prepend stamp space to output mode logging Use the STAMP_SPACE to make the output mode logging a little nicer looking. Signed-off-by: U. Artie Eoff Reviewed-by: Bryce Harrington --- src/compositor-drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 454c393a..f908cff3 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -2059,7 +2059,7 @@ create_output_for_connector(struct drm_compositor *ec, weston_log("Output %s, (connector %d, crtc %d)\n", output->base.name, output->connector_id, output->crtc_id); wl_list_for_each(m, &output->base.mode_list, link) - weston_log_continue(" mode %dx%d@%.1f%s%s%s\n", + weston_log_continue(STAMP_SPACE "mode %dx%d@%.1f%s%s%s\n", m->width, m->height, m->refresh / 1000.0, m->flags & WL_OUTPUT_MODE_PREFERRED ? ", preferred" : "",