if (neigh == NULL)
return -1;
- len = snprintf(dstbuf, size, "%s", neigh->name);
+ len = snprintf_P(dstbuf, size, PSTR("%s"), neigh->name);
if (len < 0 || len >= size)
return -1;
help_neighbor(parse_pgm_token_hdr_t *tk, char *dstbuf,
uint8_t size)
{
- snprintf(dstbuf, size, "Neighbor");
+ snprintf_P(dstbuf, size, PSTR("Neighbor"));
return 0;
}