If the name in the ticket is not matching the name in the Passport, there is 100% chance that you will have to face the issues at airport. If it is a small mistake, usually airlines make the correction free of cost. You should not hesitate contacting airlines for same.