a few cosmetic changes
Signed-off-by: Ran Benita <ran234@gmail.com>
This commit is contained in:
parent
5dbeb1474b
commit
ca8b4c67d0
@ -209,7 +209,7 @@ void kmscon_console_unref(struct kmscon_console *con)
|
|||||||
kmscon_buffer_unref(con->cells);
|
kmscon_buffer_unref(con->cells);
|
||||||
kmscon_font_factory_unref(con->ff);
|
kmscon_font_factory_unref(con->ff);
|
||||||
free(con);
|
free(con);
|
||||||
log_debug("console: destroing console\n");
|
log_debug("console: destroying console\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int kmscon_console_get_width(struct kmscon_console *con)
|
unsigned int kmscon_console_get_width(struct kmscon_console *con)
|
||||||
|
@ -545,7 +545,7 @@ int kmscon_eloop_dispatch(struct kmscon_eloop *loop, int timeout)
|
|||||||
/* dispatch fd events */
|
/* dispatch fd events */
|
||||||
count = epoll_wait(loop->efd, ep, 32, timeout);
|
count = epoll_wait(loop->efd, ep, 32, timeout);
|
||||||
if (count < 0) {
|
if (count < 0) {
|
||||||
log_warning("eloop: epoll_wait dispatching failed\n");
|
log_warning("eloop: epoll_wait dispatching failed: %m\n");
|
||||||
return -errno;
|
return -errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user