aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/iostat.c2
-rw-r--r--procps/powertop.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/procps/iostat.c b/procps/iostat.c
index 8d272c87c..c290c594b 100644
--- a/procps/iostat.c
+++ b/procps/iostat.c
@@ -142,7 +142,7 @@ static void print_timestamp(void)
142 /* %x: date representation for the current locale */ 142 /* %x: date representation for the current locale */
143 /* %X: time representation for the current locale */ 143 /* %X: time representation for the current locale */
144 strftime(buf, sizeof(buf), "%x %X", &G.tmtime); 144 strftime(buf, sizeof(buf), "%x %X", &G.tmtime);
145 printf("%s\n", buf); 145 puts(buf);
146} 146}
147 147
148static cputime_t get_smp_uptime(void) 148static cputime_t get_smp_uptime(void)
diff --git a/procps/powertop.c b/procps/powertop.c
index 1de5d329e..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);
@@ -704,7 +704,7 @@ int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv)
704 /* Get number of CPUs */ 704 /* Get number of CPUs */
705 G.total_cpus = get_cpu_count(); 705 G.total_cpus = get_cpu_count();
706 706
707 printf("Collecting data for "DEFAULT_SLEEP_STR" seconds\n"); 707 puts("Collecting data for "DEFAULT_SLEEP_STR" seconds");
708 708
709#if ENABLE_FEATURE_USE_TERMIOS 709#if ENABLE_FEATURE_USE_TERMIOS
710 tcgetattr(0, (void *)&G.init_settings); 710 tcgetattr(0, (void *)&G.init_settings);