From 55adba3f7fc5619bd433c13d07ecb62e7b4d46a8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 17 Jul 2022 21:33:24 +0200 Subject: [PATCH] audiod: Demote severity level of command errors. handle_connect() returning negative is a normal condition which occurs, for example, when the user specifies an invalid argument to a command. Therefore the "notice" severity level is more appropriate than the current "error" severity. --- audiod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiod.c b/audiod.c index c565d441..119adbc0 100644 --- a/audiod.c +++ b/audiod.c @@ -1094,7 +1094,7 @@ static int command_post_select(struct sched *s, void *context) return ret; ret = handle_connect(ct->fd, &s->rfds); if (ret < 0) { - PARA_ERROR_LOG("%s\n", para_strerror(-ret)); + PARA_NOTICE_LOG("%s\n", para_strerror(-ret)); if (ret == -E_AUDIOD_TERM) { task_notify_all(s, -ret); return ret; -- 2.39.2