Fix grammar for single byte errors

This commit is contained in:
stefanrueger
2026-08-25 20:05:37 +02:00
parent 01a5656208
commit d361c843ec

View File

@@ -1422,8 +1422,8 @@ int avr_verify_mem(const PROGRAMMER *pgm, const AVRPART *p, const AVRPART *v, co
}
}
if(verror)
imsg_info(" %d byte%s do not match caused by %d bit error%s of which %d set and %d cleared on device\n",
verror, str_plural(verror), biterrs, str_plural(biterrs), bitsset, biterrs-bitsset);
imsg_info(" %d byte%s do%s not match caused by %d bit error%s of which %d set and %d cleared on device\n",
verror, str_plural(verror), verror > 1? "": "es", biterrs, str_plural(biterrs), bitsset, biterrs-bitsset);
if(verror && bitsset == 0 && mem_is_in_flash(a))
imsg_info(" maybe flash was not erased beforehand or flash programming sections overlap?\n");