diff options
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 02d2de9d08ba..bb377112b1bb 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -2264,7 +2264,7 @@ ftrace_pid_read(struct file *file, char __user *ubuf, | |||
2264 | if (ftrace_pid_trace == ftrace_swapper_pid) | 2264 | if (ftrace_pid_trace == ftrace_swapper_pid) |
2265 | r = sprintf(buf, "swapper tasks\n"); | 2265 | r = sprintf(buf, "swapper tasks\n"); |
2266 | else if (ftrace_pid_trace) | 2266 | else if (ftrace_pid_trace) |
2267 | r = sprintf(buf, "%u\n", pid_nr(ftrace_pid_trace)); | 2267 | r = sprintf(buf, "%u\n", pid_vnr(ftrace_pid_trace)); |
2268 | else | 2268 | else |
2269 | r = sprintf(buf, "no pid\n"); | 2269 | r = sprintf(buf, "no pid\n"); |
2270 | 2270 | ||