mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ftrace: fix scripts/recordmcount.pl
@ 2009-04-02 15:10 tom.leiming
  0 siblings, 0 replies; only message in thread
From: tom.leiming @ 2009-04-02 15:10 UTC (permalink / raw)
  To: srostedt; +Cc: linux-kernel, mingo, Ming Lei

From: Ming Lei <tom.leiming@gmail.com>

$#ARGV should be nine ,and fix the usage print info.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
---
 scripts/recordmcount.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index fe83141..a56c107 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -100,8 +100,8 @@ $P =~ s@.*/@@g;
 
 my $V = '0.1';
 
-if ($#ARGV < 6) {
-	print "usage: $P arch objdump objcopy cc ld nm rm mv inputfile\n";
+if ($#ARGV < 9) {
+	print "usage: $P arch bits objdump objcopy cc ld nm rm mv inputfile\n";
 	print "version: $V\n";
 	exit(1);
 }
-- 
1.6.0.GIT


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-02 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-02 15:10 [PATCH] ftrace: fix scripts/recordmcount.pl tom.leiming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®