From: Andre Noll Date: Sun, 17 Jul 2022 19:33:24 +0000 (+0200) Subject: audiod: Demote severity level of command errors. X-Git-Tag: v0.7.1~11 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;ds=inline;h=55adba3f7fc5619bd433c13d07ecb62e7b4d46a8;p=paraslash.git 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. --- 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;