prism54: Use scnprintf() for avoiding potential buffer overflow