From 9ca668fd7277ef4d330c647cfc5947673e199077 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 19 Oct 2021 21:36:54 +0200 Subject: [PATCH] daemon: Improve documentation of daemon_set_log_color_or_die(). The function receives a severity string, not a log level number. --- daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.c b/daemon.c index a4e2f319..dd5420a6 100644 --- a/daemon.c +++ b/daemon.c @@ -58,9 +58,9 @@ static void daemon_set_default_log_colors(void) } /** - * Set the color for one loglevel. + * Set the color for log messages of the given severity level. * - * \param arg Must be of the form "ll:[fg [bg]] [attr]". + * \param arg Must be of the form "severity:[fg [bg]] [attr]". */ void daemon_set_log_color_or_die(const char *arg) { -- 2.39.5