On Tue, Apr 30 2019, Nicholas Marriott <nicholas.marri...@gmail.com> wrote:
> Oh, event_err typically uses __func__ so I would do that here too.

Indeed my proposal doesn't match the pattern used here.
Does this look better?

        if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1)
                event_err(1, "%s: clock_gettime", __func__);

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to