From ca8b4c67d0ed293ad92b0bf08e37b688d92ac72c Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 9 Jan 2012 01:08:58 +0200 Subject: [PATCH] a few cosmetic changes Signed-off-by: Ran Benita --- configure.ac | 4 ++-- src/console.c | 2 +- src/eloop.c | 2 +- src/input_xkb.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index dabb33e..d4db1e3 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ AC_ARG_ENABLE([pango], AC_MSG_RESULT([$force_pango]) if test x$force_pango = xyes -a $have_pango = xno ; then - AC_ERROR([Pango library not found]) + AC_ERROR([Pango library not found]) fi AM_CONDITIONAL([USE_PANGO], [test x$force_pango = xyes]) @@ -80,7 +80,7 @@ AM_CONDITIONAL([DEBUG], [test x$debug = xyes]) AC_MSG_RESULT([$debug]) if test ! x$debug = xyes ; then - AC_DEFINE([NDEBUG], [1], [No Debug]) + AC_DEFINE([NDEBUG], [1], [No Debug]) fi AC_CONFIG_FILES([Makefile]) diff --git a/src/console.c b/src/console.c index d0ab596..a8f9a50 100644 --- a/src/console.c +++ b/src/console.c @@ -209,7 +209,7 @@ void kmscon_console_unref(struct kmscon_console *con) kmscon_buffer_unref(con->cells); kmscon_font_factory_unref(con->ff); free(con); - log_debug("console: destroing console\n"); + log_debug("console: destroying console\n"); } unsigned int kmscon_console_get_width(struct kmscon_console *con) diff --git a/src/eloop.c b/src/eloop.c index 8b05ca7..e25cd36 100644 --- a/src/eloop.c +++ b/src/eloop.c @@ -545,7 +545,7 @@ int kmscon_eloop_dispatch(struct kmscon_eloop *loop, int timeout) /* dispatch fd events */ count = epoll_wait(loop->efd, ep, 32, timeout); if (count < 0) { - log_warning("eloop: epoll_wait dispatching failed\n"); + log_warning("eloop: epoll_wait dispatching failed: %m\n"); return -errno; } diff --git a/src/input_xkb.c b/src/input_xkb.c index ae479f9..bf2c609 100644 --- a/src/input_xkb.c +++ b/src/input_xkb.c @@ -667,7 +667,7 @@ bool kmscon_xkb_process_evdev_key(struct xkb_desc *desc, struct kmscon_input_event *out) { KeyCode keycode; - uint8_t group; + uint8_t group; uint16_t shift_level; uint32_t sym; union xkb_action *action;