SLP_ERR_BUF_LEN
static char buf[SLP_ERR_BUF_LEN];
(void) vsnprintf(p, SLP_ERR_BUF_LEN - len, msg, ap);