diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-03-16 14:27:26 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-11-03 12:23:26 +0100 |
commit | 37eae950f019903db2556e2c617d34aa69a34e7a (patch) | |
tree | ee7d87abf83cd6cffc8a030a2521247a516867e0 /tests | |
parent | 7083e7dbc505ee8ee2ceb2280e46869466396688 (diff) |
uterm: input: use shl_llog instead of shl_log
We should use library-logging in uterm to avoid cluttering stderr for
applications. Hence, use llog instead of log directly.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_input.c | 2 | ||||
-rw-r--r-- | tests/test_vt.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_input.c b/tests/test_input.c index 7dc06c7..6f0f31c 100644 --- a/tests/test_input.c +++ b/tests/test_input.c @@ -131,7 +131,7 @@ static void monitor_event(struct uterm_monitor *mon, input_conf.xkb_variant, input_conf.xkb_options, keymap, - 0, 0); + 0, 0, log_llog, NULL); if (ret) return; ret = uterm_input_register_cb(input, input_arrived, NULL); diff --git a/tests/test_vt.c b/tests/test_vt.c index 26c5ed6..d9a7666 100644 --- a/tests/test_vt.c +++ b/tests/test_vt.c @@ -113,7 +113,8 @@ int main(int argc, char **argv) if (ret) goto err_exit; - ret = uterm_input_new(&input, eloop, "", "", "", "", "", 0, 0); + ret = uterm_input_new(&input, eloop, "", "", "", "", "", 0, 0, + log_llog, NULL); if (ret) goto err_vtm; |