summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fio.h b/fio.h
index 4b6fb9fd..6ad186f0 100644
--- a/fio.h
+++ b/fio.h
@@ -666,7 +666,7 @@ extern int load_blktrace(struct thread_data *, const char *);
if (!(cond)) { \
int *__foo = NULL; \
fprintf(stderr, "file:%s:%d, assert %s failed\n", __FILE__, __LINE__, #cond); \
- (td)->runstate = TD_EXITED; \
+ td_set_runstate((td), TD_EXITED); \
(td)->error = EFAULT; \
*__foo = 0; \
} \