Man sentenced to prison for burglary