Minor, drop __func__ from dbg() statements

The dbg() macro already includes __func__ as the first text string in
the format string.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-08-29 16:48:38 +02:00
parent 193e114596
commit dec89d4054
+2 -2
View File
@@ -88,7 +88,7 @@ static void service_timeout_cb(uev_t *w, void *arg, int events)
svc_t *svc = arg;
if (UEV_ERROR == events) {
dbg("%s(): spurious problem, svc %s.", __func__, svc_ident(svc, NULL, 0));
dbg("%s: spurious problem", svc_ident(svc, NULL, 0));
uev_timer_start(w);
return;
}
@@ -3154,7 +3154,7 @@ static void service_interval_cb(uev_t *w, void *arg, int events)
(void)arg;
if (UEV_ERROR == events) {
dbg("%s(): spurious problem, restarting.", __func__);
dbg("spurious problem, restarting.");
uev_timer_start(w);
return;
}