SA prison system criticized for failing to deter offenders.