perf top: Fix code typo in prompt_symbol()
[pandora-kernel.git] / tools / perf / builtin-top.c
index 6822b44..7a8a77e 100644 (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