tools/perf/builtin-help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix a typo in comments.
Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
tools/perf/builtin-help.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c
index b2a368ae295a..0854d3cd9f6a 100644
--- a/tools/perf/builtin-help.c
+++ b/tools/perf/builtin-help.c
@@ -417,7 +417,7 @@ static void open_html(const char *path)
static int show_html_page(const char *perf_cmd)
{
const char *page = cmd_to_page(perf_cmd);
- char *page_path; /* it leaks but we exec bellow */
+ char *page_path; /* it leaks but we exec below */
if (get_html_page_path(&page_path, page) < 0)
return -1;
--
2.46.0
On Sat, Sep 7, 2024 at 6:10 AM Andrew Kreimer <algonell@gmail.com> wrote: > > Fix a typo in comments. > > Reported-by: Matthew Wilcox <willy@infradead.org> > Signed-off-by: Andrew Kreimer <algonell@gmail.com> Reviewed-by: Ian Rogers <irogers@google.com> Thanks, Ian > --- > tools/perf/builtin-help.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c > index b2a368ae295a..0854d3cd9f6a 100644 > --- a/tools/perf/builtin-help.c > +++ b/tools/perf/builtin-help.c > @@ -417,7 +417,7 @@ static void open_html(const char *path) > static int show_html_page(const char *perf_cmd) > { > const char *page = cmd_to_page(perf_cmd); > - char *page_path; /* it leaks but we exec bellow */ > + char *page_path; /* it leaks but we exec below */ > > if (get_html_page_path(&page_path, page) < 0) > return -1; > -- > 2.46.0 >
On Sun, Sep 08, 2024 at 05:30:36PM -0700, Ian Rogers wrote: > On Sat, Sep 7, 2024 at 6:10 AM Andrew Kreimer <algonell@gmail.com> wrote: > > > > Fix a typo in comments. > > > > Reported-by: Matthew Wilcox <willy@infradead.org> > > Signed-off-by: Andrew Kreimer <algonell@gmail.com> > > Reviewed-by: Ian Rogers <irogers@google.com> Thanks, applied to perf-tools-next, - Arnaldo
© 2016 - 2024 Red Hat, Inc.