git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49f6aa
)
tracing: Correct the check for number of arguments in recordmcount.pl
author
Li Hong
<lihong.hi@gmail.com>
Tue, 27 Oct 2009 06:57:33 +0000
(14:57 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Thu, 29 Oct 2009 19:11:41 +0000
(15:11 -0400)
The number of arguments passed into recordmcount.pl is 10, but the code
checks if only 7 are passed in.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
LKML-Reference: <
20091027065733
.GB22032@uhli>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl
patch
|
blob
|
history
diff --git
a/scripts/recordmcount.pl
b/scripts/recordmcount.pl
index
a569be7
..
a512af1
100755
(executable)
--- a/
scripts/recordmcount.pl
+++ b/
scripts/recordmcount.pl
@@
-113,7
+113,7
@@
$P =~ s@.*/@@g;
my $V = '0.1';
-if ($#ARGV
< 7
) {
+if ($#ARGV
!= 10
) {
print "usage: $P arch bits objdump objcopy cc ld nm rm mv is_module inputfile\n";
print "version: $V\n";
exit(1);