Adjust log message formats

This commit is contained in:
MrDave
2020-09-11 22:06:02 -06:00
committed by Mr-Dave
parent 10075a7d0a
commit e468c4dc99
2 changed files with 19 additions and 10 deletions

View File

@@ -490,9 +490,9 @@ void mythreadname_set(const char *abbr, int threadnbr, const char *threadname){
* formatting.
*/
char tname[16];
char tname[32];
if (abbr != NULL){
snprintf(tname, sizeof(tname), "%s%d%s%s",abbr,threadnbr,
snprintf(tname, sizeof(tname), "%s%02d%s%s",abbr,threadnbr,
threadname ? ":" : "",
threadname ? threadname : "");
} else {