fixed error that can't printf the correct string into buffer on CenterOS 64bit