From 88687f09802bdb047ad3de75e897e0de1fc3b2aa Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Tue, 4 Apr 2023 22:04:35 +0200 Subject: [PATCH] CLEANUP: errors: fix obsolete function comments Since 9f903af5 ("MEDIUM: log: slightly refine the output format of alerts/warnings/etc"), messages generated by ha_{alert,warning,notice} don't embed date/time information anymore. Updating some old function comments that kept saying otherwise. --- src/errors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/errors.c b/src/errors.c index ba4b8ced5..da10c2f7f 100644 --- a/src/errors.c +++ b/src/errors.c @@ -419,7 +419,7 @@ static void print_message_args(int use_usermsgs_ctx, const char *label, const ch } /* - * Displays the message on stderr with the date and pid. Overrides the quiet + * Displays the message on stderr with the pid. Overrides the quiet * mode during startup. */ void ha_alert(const char *fmt, ...) @@ -443,7 +443,7 @@ void ha_alert(const char *fmt, ...) } /* - * Displays the message on stderr with the date and pid. + * Displays the message on stderr with the pid. */ void ha_warning(const char *fmt, ...) { @@ -504,7 +504,7 @@ void ha_diag_warning(const char *fmt, ...) } /* - * Displays the message on stderr with the date and pid. + * Displays the message on stderr with the pid. */ void ha_notice(const char *fmt, ...) {