Use log_error instead of fprintf in old touchpad code

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Peter Hutterer 2014-03-27 15:05:36 +10:00
parent 4802a792b3
commit 40fe4235b9

View file

@ -454,7 +454,7 @@ fsm_timeout_handler(void *data)
/* This will only happen if the application made the fd
* non-blocking, but this function should only be called
* upon the timeout, so lets continue anyway. */
fprintf(stderr, "timerfd read error: %m\n");
log_error("timerfd read error: %m\n");
if (touchpad->fsm.events_count == 0) {
clock_gettime(CLOCK_MONOTONIC, &ts);