Man gets prison term for burglary