Re: [PATCH] perf build-id: Fix spelling mistake "Cant" -> "Can't"

From: Ian Rogers
Date: Wed Mar 16 2022 - 23:10:50 EST


On Wed, Mar 16, 2022 at 4:25 PM Colin Ian King <colin.i.king@xxxxxxxxx> wrote:
>
> There is a spelling mistake in a pr_err message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Acked-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks,
Ian

> ---
> tools/perf/util/build-id.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c
> index 7a5821c87f94..82f3d46bea70 100644
> --- a/tools/perf/util/build-id.c
> +++ b/tools/perf/util/build-id.c
> @@ -762,7 +762,7 @@ build_id_cache__add(const char *sbuild_id, const char *name, const char *realnam
>
> len = readlink(linkname, path, sizeof(path) - 1);
> if (len <= 0) {
> - pr_err("Cant read link: %s\n", linkname);
> + pr_err("Can't read link: %s\n", linkname);
> goto out_free;
> }
> path[len] = '\0';
> --
> 2.35.1
>