From 6fe79928e4e811a9340c1d778a4dc51af1ca8e9b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 13 Nov 2008 08:33:00 -0800 Subject: [PATCH] --- yaml --- r: 121111 b: refs/heads/master c: d1aaf8cf8afe70a8c2235a565885291fe290c57c h: refs/heads/master i: 121109: 5abde9166ae61b6d54964f0d2b24dcb4009cb3ae 121107: b12c8898d3f724b9b59ca3bd9db7607d22242e83 121103: 215e76552255c05f198e23056c69528590410b14 v: v3 --- [refs] | 2 +- trunk/scripts/bootgraph.pl | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 28b2a3c358ed..33532d096f27 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 24de38620dd3504782c90c0892eef888d0c351e9 +refs/heads/master: d1aaf8cf8afe70a8c2235a565885291fe290c57c diff --git a/trunk/scripts/bootgraph.pl b/trunk/scripts/bootgraph.pl index a8635a10fef2..f0af9aa9b243 100644 --- a/trunk/scripts/bootgraph.pl +++ b/trunk/scripts/bootgraph.pl @@ -78,11 +78,13 @@ } if ($count == 0) { - print "No data found in the dmesg. Make sure that 'printk.time=1' and\n"; - print "'initcall_debug' are passed on the kernel command line.\n\n"; - print "Usage: \n"; - print " dmesg | perl scripts/bootgraph.pl > output.svg\n\n"; - exit; + print STDERR < output.svg +END + exit 1; } print " \n";