changeset 22195:a6ce3c830723

Strip leading spaces from processor names. patch by Sergey, sergemp mail ru
author diego
date Tue, 13 Feb 2007 00:47:09 +0000
parents 11704b3475a6
children aaec29fe5a47
files TOOLS/cpuinfo.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/cpuinfo.c	Mon Feb 12 21:52:53 2007 +0000
+++ b/TOOLS/cpuinfo.c	Tue Feb 13 00:47:09 2007 +0000
@@ -144,6 +144,9 @@
       }
       processor_name[48] = 0;
       model_name = processor_name;
+      while (*model_name == ' ') {
+        model_name++;
+      }
     }
   } else {
     amd_flags = 0;