X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fperf%2Fbuiltin-annotate.c;h=67522cf874053e24ff87d4fa3fca67e6845981be;hb=2d5c7cd35f1addb812e0b1709b3c727f1a58ca9c;hp=806e0a286634a6bd7b7a766706c32426730c7727;hpb=d4c6fa73fe984e504d52f3d6bba291fd76fe49f7;p=~andy%2Flinux diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 806e0a28663..67522cf8740 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -215,7 +215,7 @@ static int __cmd_annotate(struct perf_annotate *ann) } if (total_nr_samples == 0) { - ui__warning("The %s file has no samples!\n", session->filename); + ui__error("The %s file has no samples!\n", session->filename); goto out_delete; } out_delete: