projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hush: fix a bug in argv restoration after sourcing a file
[oweals/busybox.git]
/
procps
/
powertop.c
diff --git
a/procps/powertop.c
b/procps/powertop.c
index 1de5d329ea6492d38a538e65ceb0c1e3931852f9..ce85f4191e0f605dfd67e1f00f072956201a4b92 100644
(file)
--- a/
procps/powertop.c
+++ b/
procps/powertop.c
@@
-591,7
+591,7
@@
static NOINLINE void print_intel_cstates(void)
if (!edx || !(ecx & 1))
return;
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)
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 */
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);
for (i = 0; i < ARRAY_SIZE(bios_table); i++)
if (bios_table[i])
printf("C%u ", i);
@@
-704,7
+704,7
@@
int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv)
/* Get number of CPUs */
G.total_cpus = get_cpu_count();
/* Get number of CPUs */
G.total_cpus = get_cpu_count();
- p
rintf("Collecting data for "DEFAULT_SLEEP_STR" seconds\n
");
+ p
uts("Collecting data for "DEFAULT_SLEEP_STR" seconds
");
#if ENABLE_FEATURE_USE_TERMIOS
tcgetattr(0, (void *)&G.init_settings);
#if ENABLE_FEATURE_USE_TERMIOS
tcgetattr(0, (void *)&G.init_settings);