summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpudetect.c b/cpudetect.c
index ac0fba6906..dda1b0f8ad 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -246,6 +246,7 @@ char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){
}
}
}
+ retname[255] = 0;
//printf("Detected CPU: %s\n", retname);
return retname;