diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-08 11:24:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-08 11:24:44 +0200 |
commit | 7f3a2a22569eb8e4c9fcc1c7f4e51fe0c6155dae (patch) | |
tree | ca48b19046a8de875054b240f7713a09cb9a5358 /procps | |
parent | d60752f8c9be5689a249ad518deb38061d4bc45e (diff) | |
download | busybox-w32-7f3a2a22569eb8e4c9fcc1c7f4e51fe0c6155dae.tar.gz busybox-w32-7f3a2a22569eb8e4c9fcc1c7f4e51fe0c6155dae.tar.bz2 busybox-w32-7f3a2a22569eb8e4c9fcc1c7f4e51fe0c6155dae.zip |
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>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/powertop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/powertop.c b/procps/powertop.c index 18418100f..ce85f4191 100644 --- a/procps/powertop.c +++ b/procps/powertop.c | |||
@@ -591,7 +591,7 @@ static NOINLINE void print_intel_cstates(void) | |||
591 | if (!edx || !(ecx & 1)) | 591 | if (!edx || !(ecx & 1)) |
592 | return; | 592 | return; |
593 | 593 | ||
594 | printf("Your CPU supports the following C-states: "); | 594 | printf("Your %s the following C-states: ", "CPU supports"); |
595 | i = 0; | 595 | i = 0; |
596 | while (edx) { | 596 | while (edx) { |
597 | if (edx & 7) | 597 | if (edx & 7) |
@@ -602,7 +602,7 @@ static NOINLINE void print_intel_cstates(void) | |||
602 | bb_putchar('\n'); | 602 | bb_putchar('\n'); |
603 | 603 | ||
604 | /* Print BIOS C-States */ | 604 | /* Print BIOS C-States */ |
605 | printf("Your BIOS reports the following C-states: "); | 605 | printf("Your %s the following C-states: ", "BIOS reports"); |
606 | for (i = 0; i < ARRAY_SIZE(bios_table); i++) | 606 | for (i = 0; i < ARRAY_SIZE(bios_table); i++) |
607 | if (bios_table[i]) | 607 | if (bios_table[i]) |
608 | printf("C%u ", i); | 608 | printf("C%u ", i); |