Fix 'sprintf(): Too few arguments in'