This fixes a proc server crash during startup inside
initialize_version_info ().
---
 proc/cpu-types.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proc/cpu-types.c b/proc/cpu-types.c
index 3d89d5a7..89787d3d 100644
--- a/proc/cpu-types.c
+++ b/proc/cpu-types.c
@@ -30,6 +30,9 @@ const char *const mach_cpu_types[] =
 #ifdef CPU_TYPE_PENTIUMPRO
     [CPU_TYPE_PENTIUMPRO] = "i686",
 #endif
+#ifdef CPU_TYPE_X86_64
+    [CPU_TYPE_X86_64] = "x86_64",
+#endif
 #ifdef CPU_TYPE_POWERPC
     [CPU_TYPE_POWERPC] = "powerpc",
 #endif
-- 
2.40.1


Reply via email to