Update Kokkos library in LAMMPS to v3.7.2
This commit is contained in:
@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user