Jailers get prison time for inmate attack