summaryrefslogtreecommitdiff
path: root/modules/evdev/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/evdev/print.c')
-rw-r--r--modules/evdev/print.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/modules/evdev/print.c b/modules/evdev/print.c
index 3e2b762..4c6cc77 100644
--- a/modules/evdev/print.c
+++ b/modules/evdev/print.c
@@ -10,16 +10,11 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/input.h>
-#include <re_types.h>
-#include <re_fmt.h>
+#include <re.h>
+#include <baresip.h>
#include "print.h"
-#define DEBUG_MODULE "evdev"
-#define DEBUG_LEVEL 5
-#include <re_dbg.h>
-
-
#define test_bit(bit, array) (array[bit/8] & (1<<(bit%8)))
@@ -36,7 +31,7 @@ void print_name(int fd)
perror("evdev ioctl");
}
- DEBUG_NOTICE("evdev device name: %s\n", name);
+ info("evdev: device name: %s\n", name);
}
@@ -52,7 +47,7 @@ void print_events(int fd)
memset(evtype_bitmask, 0, sizeof(evtype_bitmask));
if (ioctl(fd, EVIOCGBIT(0, EV_MAX), evtype_bitmask) < 0) {
- DEBUG_WARNING("evdev ioctl EVIOCGBIT (%m)\n", errno);
+ warning("evdev: ioctl EVIOCGBIT (%m)\n", errno);
return;
}