Skip to content

Commit

Permalink
tracing: Correct the check for number of arguments in recordmcount.pl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
swanli authored and rostedt committed Oct 29, 2009
1 parent d49f6aa commit e2d753f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/recordmcount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

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);
Expand Down

0 comments on commit e2d753f

Please sign in to comment.