join some common strings, -400 bytes
function old new delta print_intel_cstates 499 511 +12 file_insert 355 364 +9 dpkg_main 2944 2940 -4 ifenslave_main 645 640 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 21/-9) Total: 12 bytes text data bss dec hex filename 937564 932 17676 956172 e970c busybox_old 937164 932 17676 955772 e957c busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -591,7 +591,7 @@ static NOINLINE void print_intel_cstates(void)
|
||||
if (!edx || !(ecx & 1))
|
||||
return;
|
||||
|
||||
printf("Your CPU supports the following C-states: ");
|
||||
printf("Your %s the following C-states: ", "CPU supports");
|
||||
i = 0;
|
||||
while (edx) {
|
||||
if (edx & 7)
|
||||
@@ -602,7 +602,7 @@ static NOINLINE void print_intel_cstates(void)
|
||||
bb_putchar('\n');
|
||||
|
||||
/* Print BIOS C-States */
|
||||
printf("Your BIOS reports the following C-states: ");
|
||||
printf("Your %s the following C-states: ", "BIOS reports");
|
||||
for (i = 0; i < ARRAY_SIZE(bios_table); i++)
|
||||
if (bios_table[i])
|
||||
printf("C%u ", i);
|
||||
|
||||
Reference in New Issue
Block a user