[PATCH 1/2] drm: prepend stamp space to output mode logging

U. Artie Eoff ullysses.a.eoff at intel.com
Fri Dec 20 12:31:46 PST 2013


From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>

Use the STAMP_SPACE to make the output mode logging
a little nicer looking.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
---
 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 f85298a..4a91027 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -2054,7 +2054,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" : "",
-- 
1.8.3.1



More information about the wayland-devel mailing list