1
0
Fork 0

perf top: Fix code typo in prompt_symbol()

sym_filter is what was (if ever) passed with -s option. What was
typed by user, and what we were looking for, is in buf.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1263396139-4798-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
hifive-unleashed-5.1
Kirill Smelkov 2010-01-13 13:22:19 -02:00 committed by Ingo Molnar
parent 0895cf0a82
commit 66aeb6d5cb
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ static void prompt_symbol(struct sym_entry **target, const char *msg)
}
if (!found) {
fprintf(stderr, "Sorry, %s is not active.\n", sym_filter);
fprintf(stderr, "Sorry, %s is not active.\n", buf);
sleep(1);
return;
} else