Two jailers get prison time for attack on a restrained inmate