Commit 3e6472b6 authored by Alessandro Rubini's avatar Alessandro Rubini

state-initializing: bugfix in message formats

printf with missing argument. Introduced in a8733f10, 52 commits ago.

I didn't notice because I was not using CONFIG_PPSI_RUNTIME_VERBOSITY
(as expected, the preprocessor hit again).
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 33bbc975
......@@ -68,13 +68,13 @@ int pp_initializing(struct pp_instance *ppi, unsigned char *pkt, int plen)
if (pp_hooks.init)
ret = pp_hooks.init(ppi, pkt, plen);
if (ret) {
PP_PRINTF("%s: can't init extension\n");
PP_PRINTF("%s: can't init extension\n", __func__);
goto failure;
}
ret = pp_timer_init(ppi);
if (ret) {
PP_PRINTF("%s: can't init timers\n");
PP_PRINTF("%s: can't init timers\n", __func__);
goto failure;
}
pp_init_clock(ppi);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment