[LTP] [PATCH] overcommit_memory: Fix spelling mistake

Cui Bixuan cuibixuan@huawei.com
Fri Sep 2 04:00:04 CEST 2016


Fix spelling mistake for 'CommmitLimit'

Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
---
 testcases/kernel/mem/tunable/overcommit_memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/mem/tunable/overcommit_memory.c b/testcases/kernel/mem/tunable/overcommit_memory.c
index 9c33758..79a3034 100644
--- a/testcases/kernel/mem/tunable/overcommit_memory.c
+++ b/testcases/kernel/mem/tunable/overcommit_memory.c
@@ -274,7 +274,7 @@ static void update_mem(void)
 		commit_left = commit_limit - committed;
 
 		if (commit_left < 0) {
-			tst_resm(TINFO, "CommmitLimit is %ld, Committed_AS"
+			tst_resm(TINFO, "CommitLimit is %ld, Committed_AS"
 				 " is %ld", commit_limit, committed);
 			tst_brkm(TBROK, cleanup, "Unexpected error: "
 				 "CommitLimit < Committed_AS");
-- 
1.8.3.4



More information about the ltp mailing list