From: Kamalesh B. <kam...@li...> - 2015-07-01 05:03:35
|
Fix trivial spelling mistakes and trailing white spaces. 'avaiable' -> 'available' 'parmaeter' -> 'parameter' 'intialize' -> 'initialize' Signed-off-by: Kamalesh Babulal <kam...@li...> --- src/drmgr/drslot_chrp_cpu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drmgr/drslot_chrp_cpu.c b/src/drmgr/drslot_chrp_cpu.c index 54fc576..4c193fa 100644 --- a/src/drmgr/drslot_chrp_cpu.c +++ b/src/drmgr/drslot_chrp_cpu.c @@ -150,7 +150,7 @@ get_available_cpu(struct options *opts, struct dr_info *dr_info) } if (!cpu) - say(ERROR, "Could not find avaiable cpu.\n"); + say(ERROR, "Could not find available cpu.\n"); return cpu; } @@ -235,7 +235,7 @@ remove_cpus(struct options *opts, struct dr_info *dr_info) while (count < opts->quantity) { if (drmgr_timed_out()) break; - + if (cpu_count(dr_info) == 1) { say(WARN, "Cannot remove the last CPU\n"); rc = -1; @@ -365,14 +365,14 @@ drslot_chrp_cpu(struct options *opts) (strcmp(opts->p_option, "variable_weight") == 0)) { rc = update_sysparm(opts); if (rc) - say(ERROR, "Could not update system parmaeter " + say(ERROR, "Could not update system parameter " "%s\n", opts->p_option); return rc; } } if (init_cpu_drc_info(&dr_info)) { - say(ERROR, "Could not intialize Dynamic Reconfiguration " + say(ERROR, "Could not initialize Dynamic Reconfiguration " "information.\n"); return -1; } -- 2.1.2 |