mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
src: Add missing new lines to log messages
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
208fc99e66
commit
e475decf1d
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue