diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index d93e2eef09790321f9ade24dfabcb037df289542..c1c1200d2f0a69555111aa9872c3d4be04d786dc 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -224,7 +224,7 @@ static int perf_record__open(struct perf_record *rec) "Consider increasing " "/proc/sys/kernel/perf_event_mlock_kb,\n" "or try again with a smaller value of -m/--mmap_pages.\n" - "(current value: %d)\n", opts->mmap_pages); + "(current value: %u)\n", opts->mmap_pages); rc = -errno; } else { pr_err("failed to mmap with %d (%s)\n", errno, strerror(errno));