summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-05-02 13:14:26 -0600
committerJens Axboe <jaxboe@fusionio.com>2011-05-02 13:14:26 -0600
commitac18ea38de2a23018f9f953c3028d519df3a1177 (patch)
treed72030a6c8c03f1a1ba342cdc26c4fb093c1233f
parentb841ac86d4eb1659189171b7abebd986c7945f51 (diff)
downloadfio-ac18ea38de2a23018f9f953c3028d519df3a1177.tar.gz
fio-ac18ea38de2a23018f9f953c3028d519df3a1177.tar.bz2
Convert left-over manual ->runstate setting to td_set_runstate()
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-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; \
} \