[PATCH wayland] client: Add missing arg in a wl_log invocation
Victor Berger
victor.berger at m4x.org
Mon Jan 4 02:09:01 PST 2016
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
More information about the wayland-devel
mailing list