diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/blktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 9af41430ee54..f69f8bd8bef9 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c | |||
@@ -968,7 +968,7 @@ static inline unsigned long long t_sector(const struct trace_entry *ent) | |||
968 | 968 | ||
969 | static inline __u16 t_error(const struct trace_entry *ent) | 969 | static inline __u16 t_error(const struct trace_entry *ent) |
970 | { | 970 | { |
971 | return te_blk_io_trace(ent)->sector; | 971 | return te_blk_io_trace(ent)->error; |
972 | } | 972 | } |
973 | 973 | ||
974 | static __u64 get_pdu_int(const struct trace_entry *ent) | 974 | static __u64 get_pdu_int(const struct trace_entry *ent) |