Skip to contentSkip to conversation

selftests/resctrl: fix spelling mistake "Errror" -> "Error"

PATCH New Colin King 1 participant 1 message Feb 12, 2020

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 selftests/resctrl: fix spelling mistake "Errror" -> "Error"

From: Colin Ian King <[email protected]>

There are two spelling mistakes in error messages. Fix these.

---
 tools/testing/selftests/resctrl/fill_buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/resctrl/fill_buf.c +2 -2
index 84d2a8b9657a..79c611c99a3d 100644
@@ -181,7 +181,7 @@ fill_cache(unsigned long long buf_size, int malloc_and_init, int memflush,
 		ret = fill_cache_write(start_ptr, end_ptr, resctrl_val);
 
 	if (ret) {
-		printf("\n Errror in fill cache read/write...\n");
+		printf("\n Error in fill cache read/write...\n");
 		return -1;
 	}
 
@@ -205,7 +205,7 @@ int run_fill_buf(unsigned long span, int malloc_and_init_memory,
 	ret = fill_cache(cache_size, malloc_and_init_memory, memflush, op,
 			 resctrl_val);
 	if (ret) {
-		printf("\n Errror in fill cache\n");
+		printf("\n Error in fill cache\n");
 		return -1;
 	}
 
Signature · 1 line
2.25.0