File mouseemu.uinput_error_msg.patch of Package mouseemu
#! /bin/sh /usr/share/dpatch/dpatch-run
## uinput_error_msg.dpatch by <gaudenz@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: send error message to stderr if no uinput device is found
@DPATCH@
---
mouseemu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/mouseemu.c
+++ b/mouseemu.c
@@ -842,8 +842,8 @@ startops:
running = uinput_setup();
if (running < 0) {
- syslog(LOG_NOTICE, "Make sure uinput module is loaded or available "
- "in the kernel.\n");
+ fprintf(stderr, "No uinput device found! Make sure the uinput module is loaded\n"
+ "or CONFIG_INPUT_UINPUT is compiled into the kernel.\n");
}