mirror of
https://github.com/troglobit/finit.git
synced 2026-10-12 10:12:32 +00:00
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:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user