FAYETTEVILLE, N.C. (AP) — Police say a man shot another man when he was attacked with a knife after putting his 2-year-old daughter in a car in a North Carolina parking lot.

Fayetteville Police said the man first started yelling at the shooter as he walked across the parking lot Friday night.

After the man put his daughter in the car, police say the other man swung a knife at him as he walked around to the driver's side.

The man shot was taken to the hospital, while the other man and his daughter were not hurt.

Police said in a statement they found a knife in the parking lot. No charges have been filed, and the investigation continues.