[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1238685046-6477-1-git-send-email-tom.leiming@gmail.com>
Date: Thu, 2 Apr 2009 23:10:46 +0800
From: tom.leiming@...il.com
To: srostedt@...hat.com
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu,
Ming Lei <tom.leiming@...il.com>
Subject: [PATCH] ftrace: fix scripts/recordmcount.pl
From: Ming Lei <tom.leiming@...il.com>
$#ARGV should be nine ,and fix the usage print info.
Signed-off-by: Ming Lei <tom.leiming@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists