diff options
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
-rw-r--r-- | kernel/trace/trace_kprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 6178abf3637e..356c10227c98 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -673,7 +673,7 @@ static int create_trace_probe(int argc, char **argv) | |||
673 | return -EINVAL; | 673 | return -EINVAL; |
674 | } | 674 | } |
675 | /* an address specified */ | 675 | /* an address specified */ |
676 | ret = strict_strtoul(&argv[0][2], 0, (unsigned long *)&addr); | 676 | ret = strict_strtoul(&argv[1][0], 0, (unsigned long *)&addr); |
677 | if (ret) { | 677 | if (ret) { |
678 | pr_info("Failed to parse address.\n"); | 678 | pr_info("Failed to parse address.\n"); |
679 | return ret; | 679 | return ret; |