summaryrefslogtreecommitdiff
path: root/btt/trace_complete.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/trace_complete.c')
-rw-r--r--btt/trace_complete.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/btt/trace_complete.c b/btt/trace_complete.c
index b4dcadd..50f3cfa 100644
--- a/btt/trace_complete.c
+++ b/btt/trace_complete.c
@@ -20,13 +20,13 @@
*/
#include "globals.h"
-static inline void __out(FILE *ofp, __u64 tm, enum iop_type type,
+static inline void __out(FILE *ofp, __u64 tm, enum iop_type type,
__u64 sec, __u32 nsec, int indent)
{
if (tm != (__u64)-1) {
- if (indent)
+ if (indent)
fprintf(ofp, " ");
- fprintf(ofp, "%5d.%09lu %c %10llu+%-4u\n",
+ fprintf(ofp, "%5d.%09lu %c %10llu+%-4u\n",
(int)SECONDS(tm), (unsigned long)NANO_SECONDS(tm),
type2c(type), (unsigned long long)sec, nsec);
}
@@ -85,7 +85,7 @@ static void handle_complete(struct io *c_iop)
display_io_track(per_io_ofp, q_iop);
}
- LIST_DEL(&q_iop->f_head);
+ list_del(&q_iop->f_head);
io_release(q_iop);
}
}