Update Kokkos library in LAMMPS to v3.7.2

This commit is contained in:
Stan Gerald Moore
2023-06-05 09:59:38 -06:00
parent 77340921ff
commit a12133ce03
31 changed files with 312 additions and 124 deletions

View File

@ -73,7 +73,7 @@ void textcolor(int attr, int fg, int bg) {
char command[40];
/* Command is the control command to the terminal */
sprintf(command, "%c[%d;%d;%dm", 0x1B, attr, fg + 30, bg + 40);
snprintf(command, 40, "%c[%d;%d;%dm", 0x1B, attr, fg + 30, bg + 40);
printf("%s", command);
}
void textcolor_standard() { textcolor(RESET, BLACK, WHITE); }