Skip to content

Commit dec89d4

Browse files
committed
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 <[email protected]>
1 parent 193e114 commit dec89d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/service.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static void service_timeout_cb(uev_t *w, void *arg, int events)
8888
svc_t *svc = arg;
8989

9090
if (UEV_ERROR == events) {
91-
dbg("%s(): spurious problem, svc %s.", __func__, svc_ident(svc, NULL, 0));
91+
dbg("%s: spurious problem", svc_ident(svc, NULL, 0));
9292
uev_timer_start(w);
9393
return;
9494
}
@@ -3154,7 +3154,7 @@ static void service_interval_cb(uev_t *w, void *arg, int events)
31543154

31553155
(void)arg;
31563156
if (UEV_ERROR == events) {
3157-
dbg("%s(): spurious problem, restarting.", __func__);
3157+
dbg("spurious problem, restarting.");
31583158
uev_timer_start(w);
31593159
return;
31603160
}

0 commit comments

Comments
 (0)