Fix cpu id string for empty vendor
This commit is contained in:
parent
da4989aaa1
commit
3fdeadf9d2
@ -300,7 +300,7 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
|
|||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
sprintf(m_name, "%s-%u86", v_name, family);
|
sprintf(m_name, "%s%s%u86", v_name, v_name[0]?"-":"", family);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model);
|
sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model);
|
||||||
|
Reference in New Issue
Block a user