Can not use sprintf for char, to be fixed

Signed-off-by: Keven Liu <airk908@gmail.com>