Man resentenced to prison after violating probation