Fix for coverity (printf of non null terminated string)