diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index 89c52fc9b22e36cb9f4d2c5388b6ced55921933d..06f248fde5cf89b7f3b4b2858261a9e5e500b4ad 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c @@ -753,7 +753,7 @@ int hist_entry__tui_annotate(struct hist_entry *self) browser.width += 18; /* Percentage */ ui_browser__show(&browser, self->ms.sym->name); - ui_browser__run(&browser, &es); + ret = ui_browser__run(&browser, &es); newtFormDestroy(browser.form); newtPopWindow(); list_for_each_entry_safe(pos, n, &head, node) {