[PATCH weston] compositor-drm: Use __func__ instead of hardcoded string

Scott Moreau oreaus at gmail.com
Sat Feb 23 11:04:56 PST 2013


---
 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 a824324..f6d030c 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -2158,7 +2158,7 @@ drm_compositor_create(struct wl_display *display,
 
 	if (weston_compositor_init(&ec->base, display, argc, argv,
 				   config_file) < 0) {
-		weston_log("weston_compositor_init failed\n");
+		weston_log("%s failed\n", __func__);
 		goto err_base;
 	}
 
-- 
1.7.10.4



More information about the wayland-devel mailing list