diff options
-rw-r--r-- | Documentation/perf_counter/perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c index 594d270be390..1d6d7aa575a3 100644 --- a/Documentation/perf_counter/perf.c +++ b/Documentation/perf_counter/perf.c | |||
@@ -357,7 +357,7 @@ int main(int argc, const char **argv) | |||
357 | * die if that one cannot handle it. | 357 | * die if that one cannot handle it. |
358 | */ | 358 | */ |
359 | if (!prefixcmp(cmd, "perf-")) { | 359 | if (!prefixcmp(cmd, "perf-")) { |
360 | cmd += 4; | 360 | cmd += 5; |
361 | argv[0] = cmd; | 361 | argv[0] = cmd; |
362 | handle_internal_command(argc, argv); | 362 | handle_internal_command(argc, argv); |
363 | die("cannot handle %s internally", cmd); | 363 | die("cannot handle %s internally", cmd); |