[PATCH weston] compositor-drm: Use __func__ instead of hardcoded string
Kristian Høgsberg
hoegsberg at gmail.com
Mon Feb 25 10:18:12 PST 2013
On Sat, Feb 23, 2013 at 12:04:56PM -0700, Scott Moreau wrote:
> ---
> src/compositor-drm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, committed.
Kristian
> 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
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list