perf build-id: Fix spelling mistake "Cant" -> "Can't"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 16 Mar 2022 23:24:52 +0000 (23:24 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Mar 2022 21:27:56 +0000 (18:27 -0300)
There is a spelling mistake in a pr_err message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-janitors@vger.kernel.org
Link: https://lore.kernel.org/r/20220316232452.53062-1-colin.i.king@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/build-id.c

index 7a5821c..82f3d46 100644 (file)
@@ -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';