diff options
Diffstat (limited to 'src/ft2csv.c')
| -rw-r--r-- | src/ft2csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft2csv.c b/src/ft2csv.c index d8e8e95..6a0402d 100644 --- a/src/ft2csv.c +++ b/src/ft2csv.c | |||
| @@ -289,7 +289,7 @@ static void find_event_by_eid(struct timestamp *first, struct timestamp* end) | |||
| 289 | int interrupted = 0; | 289 | int interrupted = 0; |
| 290 | 290 | ||
| 291 | second = find_second_ts(first, end, &interrupted); | 291 | second = find_second_ts(first, end, &interrupted); |
| 292 | if (second) { | 292 | if (second && second->timestamp > first->timestamp) { |
| 293 | exec_time = second->timestamp - first->timestamp; | 293 | exec_time = second->timestamp - first->timestamp; |
| 294 | if (first->task_type != TSK_RT && | 294 | if (first->task_type != TSK_RT && |
| 295 | second->task_type != TSK_RT && !want_best_effort) | 295 | second->task_type != TSK_RT && !want_best_effort) |
