hdt: Fixing processor menu len
authorErwan Velu <erwan.velu@free.fr>
Thu, 19 Feb 2009 21:47:58 +0000 (22:47 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 26 Feb 2009 04:58:42 +0000 (20:58 -0800)
hdt/hdt-menu-processor.c

index 1f9f745..4913771 100644 (file)
@@ -30,8 +30,8 @@
 
 /* Compute Processor menu */
 void compute_processor(struct s_my_menu *menu,s_cpu *cpu, s_dmi *dmi) {
-  char buffer[MENULEN+1];
-  char buffer1[MENULEN+1];
+  char buffer[SUBMENULEN+1];
+  char buffer1[SUBMENULEN+1];
   char statbuffer[STATLEN+1];
 
   menu->menu = add_menu(" Main Processor ",-1);