Replace call to vsprintf to sprintf because of arguments format