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: Jun Yang <jun.yang@suse.com>
(cherry picked from commit 6adce27012d58005c625fda28bcdc6bdb0399433)