From ac18ea38de2a23018f9f953c3028d519df3a1177 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 2 May 2011 13:14:26 -0600 Subject: [PATCH] Convert left-over manual ->runstate setting to td_set_runstate() Signed-off-by: Jens Axboe --- fio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ } \ -- 2.25.1