[PATCH wayland] client: Add missing arg in a wl_log invocation
Marek Chalupa
mchqwerty at gmail.com
Mon Jan 11 00:25:25 PST 2016
Hi,
obviously correct
Reviewed-by: Marek Chalupa <mchqwerty at gmail.com>
Cheers,
Marek
On 01/04/2016 11:09 AM, Victor Berger wrote:
> Without this 'proxy' argument, the '%p' formatter prints a constant
> garbage value.
>
> Signed-off-by: Victor Berger <victor.berger at m4x.org>
> ---
> src/wayland-client.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/wayland-client.c b/src/wayland-client.c
> index 509be08..4f18d7e 100644
> --- a/src/wayland-client.c
> +++ b/src/wayland-client.c
> @@ -515,7 +515,7 @@ wl_proxy_add_dispatcher(struct wl_proxy *proxy,
> const void *implementation, void *data)
> {
> if (proxy->object.implementation || proxy->dispatcher) {
> - wl_log("proxy %p already has listener\n");
> + wl_log("proxy %p already has listener\n", proxy);
> return -1;
> }
>
> --
> 2.4.10
>
> _______________________________________________
> 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