diff options
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r-- | kernel/trace/trace_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index 8bda4bff2286..ddee9c593732 100644 --- a/kernel/trace/trace_syscalls.c +++ b/kernel/trace/trace_syscalls.c | |||
@@ -229,7 +229,7 @@ int syscall_exit_format(struct ftrace_event_call *call, struct trace_seq *s) | |||
229 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" | 229 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" |
230 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n", | 230 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n", |
231 | SYSCALL_FIELD(int, nr), | 231 | SYSCALL_FIELD(int, nr), |
232 | SYSCALL_FIELD(unsigned long, ret)); | 232 | SYSCALL_FIELD(long, ret)); |
233 | if (!ret) | 233 | if (!ret) |
234 | return 0; | 234 | return 0; |
235 | 235 | ||
@@ -275,7 +275,7 @@ int syscall_exit_define_fields(struct ftrace_event_call *call) | |||
275 | if (ret) | 275 | if (ret) |
276 | return ret; | 276 | return ret; |
277 | 277 | ||
278 | ret = trace_define_field(call, SYSCALL_FIELD(unsigned long, ret), 0, | 278 | ret = trace_define_field(call, SYSCALL_FIELD(long, ret), 0, |
279 | FILTER_OTHER); | 279 | FILTER_OTHER); |
280 | 280 | ||
281 | return ret; | 281 | return ret; |