Without this 'proxy' argument, the '%p' formatter prints a constant
garbage value.

Signed-off-by: Victor Berger <victor.ber...@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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to