Skip to contentSkip to conversation

ftrace: fix scripts/recordmcount.pl

PATCH New [email protected] 1 participant 1 message Apr 2, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ftrace: fix scripts/recordmcount.pl

From: Ming Lei <[email protected]>

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

---
 scripts/recordmcount.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
scripts/recordmcount.pl +2 -2
index fe83141..a56c107 100755
@@ -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);
 }
Signature · 1 line
1.6.0.GIT