[PATCH] perf header: Fix spelling mistake "could't" -> "couldn't"

Colin Ian King posted 1 patch 4 years, 3 months ago
tools/perf/util/header.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] perf header: Fix spelling mistake "could't" -> "couldn't"
Posted by Colin Ian King 4 years, 3 months ago
There is a spelling mistake in a pr_debug2 message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 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 6da12e522edc..4a44a0740f43 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -1335,7 +1335,7 @@ static int build_mem_topology(struct memory_node *nodes, u64 size, u64 *cntp)
 
 	dir = opendir(path);
 	if (!dir) {
-		pr_debug2("%s: could't read %s, does this arch have topology information?\n",
+		pr_debug2("%s: couldn't read %s, does this arch have topology information?\n",
 			  __func__, path);
 		return -1;
 	}
-- 
2.35.1
Re: [PATCH] perf header: Fix spelling mistake "could't" -> "couldn't"
Posted by Ian Rogers 4 years, 3 months ago
On Wed, Mar 16, 2022 at 4:22 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a pr_debug2 message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Acked-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  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 6da12e522edc..4a44a0740f43 100644
> --- a/tools/perf/util/header.c
> +++ b/tools/perf/util/header.c
> @@ -1335,7 +1335,7 @@ static int build_mem_topology(struct memory_node *nodes, u64 size, u64 *cntp)
>
>         dir = opendir(path);
>         if (!dir) {
> -               pr_debug2("%s: could't read %s, does this arch have topology information?\n",
> +               pr_debug2("%s: couldn't read %s, does this arch have topology information?\n",
>                           __func__, path);
>                 return -1;
>         }
> --
> 2.35.1
>