aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-05-07 11:00:43 +0300
committerMarius Vlad <marius.vlad@collabora.com>2021-05-07 11:07:54 +0300
commite475decf1d665da7fae71df9624974179fadf007 (patch)
tree5a01306e7b459502e14df7b8a520d7e1f2de1874 /src
parentDocument serial param usage in wl_pointer.set_cursor (diff)
downloadwayland-e475decf1d665da7fae71df9624974179fadf007.tar
wayland-e475decf1d665da7fae71df9624974179fadf007.tar.gz
wayland-e475decf1d665da7fae71df9624974179fadf007.tar.bz2
wayland-e475decf1d665da7fae71df9624974179fadf007.tar.lz
wayland-e475decf1d665da7fae71df9624974179fadf007.tar.xz
wayland-e475decf1d665da7fae71df9624974179fadf007.tar.zst
wayland-e475decf1d665da7fae71df9624974179fadf007.zip
src: Add missing new lines to log messages
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/connection.c2
-rw-r--r--src/event-loop.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/connection.c b/src/connection.c
index d0c7d9f..69190a1 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1049,7 +1049,7 @@ copy_fds_to_connection(struct wl_closure *closure,
fd = closure->args[i].h;
if (wl_connection_put_fd(connection, fd)) {
wl_log("request could not be marshaled: "
- "can't send file descriptor");
+ "can't send file descriptor\n");
return -1;
}
closure->args[i].h = -1;
diff --git a/src/event-loop.c b/src/event-loop.c
index 339ff19..c7c98b0 100644
--- a/src/event-loop.c
+++ b/src/event-loop.c
@@ -340,7 +340,7 @@ wl_timer_heap_reserve(struct wl_timer_heap *timers)
new_space = timers->space >= 8 ? timers->space * 2 : 8;
n = realloc(timers->data, (size_t)new_space * sizeof(*n));
if (!n) {
- wl_log("Allocation failure when expanding timer list");
+ wl_log("Allocation failure when expanding timer list\n");
return -1;
}
timers->data = n;
@@ -361,7 +361,7 @@ wl_timer_heap_unreserve(struct wl_timer_heap *timers)
if (timers->space >= 16 && timers->space >= 4 * timers->count) {
n = realloc(timers->data, (size_t)timers->space / 2 * sizeof(*n));
if (!n) {
- wl_log("Reallocation failure when shrinking timer list");
+ wl_log("Reallocation failure when shrinking timer list\n");
return;
}
timers->data = n;
@@ -942,8 +942,8 @@ post_dispatch_check(struct wl_event_loop *loop)
dispatch_result = source->interface->dispatch(source, &ep);
if (dispatch_result < 0) {
- wl_log("Source dispatch function returned negative value!");
- wl_log("This would previously accidentally suppress a follow-up dispatch");
+ wl_log("Source dispatch function returned negative value!\n");
+ wl_log("This would previously accidentally suppress a follow-up dispatch\n");
}
needs_recheck |= dispatch_result != 0;
}