[v0.22] Small various fixes

This commit is contained in:
Dr-Noob
2021-12-28 16:43:11 +01:00
parent 98a70d5c9e
commit 6f555f1b47
5 changed files with 13 additions and 11 deletions

View File

@@ -166,7 +166,7 @@ struct uarch* get_uarch_from_pci(struct pci* pci) {
char* get_name_from_uarch(struct uarch* arch) {
char* name = (char *) emalloc(sizeof(char) * (strlen(arch->chip_str) + 6 + 1));
sprintf(name, "Intel %s", arch->chip_str);
sprintf(name, "%s", arch->chip_str);
return name;
}