From: Colin Ian King <[email protected]>
There is a spelling mistake in a warning message. Fix it.
Signed-off-by: Colin Ian King <[email protected]>
---
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 563dec72adeb..9016541c55f9 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.32.0
Em Thu, Aug 26, 2021 at 01:18:01PM +0100, Colin King escreveu:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a warning message. Fix it.
Thanks, applied.
- Arnaldo
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> 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 563dec72adeb..9016541c55f9 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.32.0
--
- Arnaldo