summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:30 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:30 +0200
commit88888465bf153f488a5508adf11e6b78f00b49f0 (patch)
tree8b3e180265356a316ae57e62b07a247a1f5bf1f7
parent1dddf8c03e8b7781f549636be6d23e6ca245512b (diff)
wayland: fix two instances of logdebug format breakage
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/wayland.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index fb18386..49e01aa 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -570,7 +570,7 @@ constexpr struct ivi_controller_surface_listener surface_listener = {
surface::surface(uint32_t i, struct controller *c)
: wayland_proxy(ivi_controller_surface_create(c->proxy.get(), i),
[c, i](ivi_controller_surface *s) {
- logdebug("~surface surface %i @ %d", i, s);
+ logdebug("~surface surface %i @ %p", i, s);
c->remove_proxy_to_id_mapping(s);
ivi_controller_surface_destroy(s, 1);
}),
@@ -677,7 +677,7 @@ void controller::surface_stats(struct surface *s, uint32_t redraw_count,
uint32_t frame_count, uint32_t update_count,
uint32_t pid, const char *process_name) {
logdebug("genivi::surface %s @ %d r %u f %u u %u pid %u p %s", __func__,
- this->proxy.get(), redraw_count, frame_count, update_count, pid,
+ s->id, redraw_count, frame_count, update_count, pid,
process_name);
}