[PATCH] perf tools: Fix spelling contraction "cant'" -> "can't"
From: Colin King
Date: Wed Jul 28 2021 - 06:29:43 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
There is a spelling mistake in a pr_warning message. Fix it.
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
tools/perf/util/header.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index 44249027507a..5c9f7444939e 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -1284,7 +1284,7 @@ static int memory_node__read(struct memory_node *n, unsigned long idx)
dir = opendir(path);
if (!dir) {
- pr_warning("failed: cant' open memory sysfs data\n");
+ pr_warning("failed: can't open memory sysfs data\n");
return -1;
}
--
2.31.1