Fixed an off-by-one error in bert_strerror.