hdt: fixing typo
authorErwan Velu <erwan.velu@free.fr>
Sun, 19 Apr 2009 07:42:25 +0000 (09:42 +0200)
committerErwan Velu <erwan.velu@free.fr>
Sun, 19 Apr 2009 07:42:25 +0000 (09:42 +0200)
Impact: fixing compilation errors

Wrong call :(

com32/hdt/hdt-cli-dmi.c
com32/hdt/hdt-menu-dmi.c

index 76905db..742c5fa 100644 (file)
@@ -172,7 +172,7 @@ static void show_dmi_chassis(int argc __unused, char** argv __unused,
         hardware->dmi.chassis.version);
   printf(" Serial             : %s\n", hardware->dmi.chassis.serial);
   printf(" Asset Tag          : %s\n",
-        del_multiple_spaces(hardware->dmi.chassis.asset_tag));
+        del_multi_spaces(hardware->dmi.chassis.asset_tag));
   printf(" Boot up state      : %s\n",
         hardware->dmi.chassis.boot_up_state);
   printf(" Power supply state : %s\n",
index 5f87df9..a3a3a8e 100644 (file)
@@ -126,9 +126,9 @@ void compute_chassis(struct s_my_menu *menu, s_dmi * dmi)
   menu->items_count++;
 
   snprintf(buffer, sizeof buffer, "Asset Tag : %s",
-     del_multiple_spaces(dmi->chassis.asset_tag));
+     del_multi_spaces(dmi->chassis.asset_tag));
   snprintf(statbuffer, sizeof statbuffer, "Asset Tag: %s",
-     del_multiple_spaces(dmi->chassis.asset_tag));
+     del_multi_spaces(dmi->chassis.asset_tag));
   add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
   menu->items_count++;