summaryrefslogtreecommitdiffstats
path: root/tests/io_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io_mock.c')
-rw-r--r--tests/io_mock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io_mock.c b/tests/io_mock.c
index 9f86fcd67..c04e9c5a9 100644
--- a/tests/io_mock.c
+++ b/tests/io_mock.c
@@ -22,7 +22,7 @@ static const struct io_mock *current_io = NULL;
void io_mock_register(const struct io_mock *io)
{
/* A test can either register its own mock open function or fallback_open_state. */
- assert_true(io == NULL || io->open == NULL || io->fallback_open_state == NULL);
+ assert_true(io == NULL || io->iom_open == NULL || io->fallback_open_state == NULL);
current_io = io;
}