projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert left-over manual ->runstate setting to td_set_runstate()
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 4b6fb9fdd209f61147b964ca46046b431d74a9fc..6ad186f0e6a87cc4ff5ec20dda35c598df0aaf8c 100644
(file)
--- 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; \
} \