perf header: Fix spelling mistake "cant'" -> "can't"
authorColin Ian King <colin.king@canonical.com>
Thu, 26 Aug 2021 12:18:01 +0000 (13:18 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Aug 2021 18:12:00 +0000 (15:12 -0300)
There is a spelling mistake in a warning message. Fix it.

Signed-off-by: Colin King <colin.king@canonical.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
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: http://lore.kernel.org/lkml/20210826121801.13281-1-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c

index f280b3a..d2231cb 100644 (file)
@@ -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;
        }