Skip to content

Commit

Permalink
textual: add new line to a message
Browse files Browse the repository at this point in the history
Earlier message was not quite right as seen below.

$ sudo ./src/powertop --auto
Loaded 244 prior measurements
[...]
To show power estimates do 20 measurement(s) connected to battery onlyLeaving PowerTOP

Signed-off-by: Sami Kerola <[email protected]>
  • Loading branch information
kerolasa authored and Alexandra Yates committed Nov 25, 2014
1 parent 4890396 commit bc67fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameters/parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ int global_power_valid(void)
return 1;

if (past_results.size() > 0 && global_run_times < 1){
printf("To show power estimates do %ld measurement(s) connected to battery only",
printf("To show power estimates do %ld measurement(s) connected to battery only\n",
(3 * all_parameters.parameters.size()) - past_results.size());
global_run_times += 1;
}
Expand Down

0 comments on commit bc67fd3

Please sign in to comment.