We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c40bc commit e95d643Copy full SHA for e95d643
1 file changed
driver/others/dynamic.c
@@ -363,7 +363,7 @@ static gotoblas_t *force_coretype(char *coretype){
363
int i ;
364
int found = -1;
365
char message[128];
366
- char mname[20];
+ //char mname[20];
367
368
for ( i=1 ; i <= 21; i++)
369
{
@@ -375,8 +375,8 @@ static gotoblas_t *force_coretype(char *coretype){
375
}
376
if (found < 0)
377
378
- strncpy(mname,coretype,20);
379
- sprintf(message, "Core not found: %s\n",mname);
+ //strncpy(mname,coretype,20);
+ snprintf(message, 128, "Core not found: %s\n",coretype);
380
openblas_warning(1, message);
381
return(NULL);
382
0 commit comments