After ncurses upgrade to 6.3, it introduces a format-security
compile error.
To fix it, a format literal string is added.
Reference: https://gitee.com/src-openeuler/gcc/issues/I4W7ZB
Signed-off-by: Qwei <qiang.wei@suse.com>
(cherry picked from commit 8f28c7fb9a82913fd4406df3fa87d47964428195)