diff options
Diffstat (limited to 'tests/vb2_nvstorage_tests.c')
-rw-r--r-- | tests/vb2_nvstorage_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vb2_nvstorage_tests.c b/tests/vb2_nvstorage_tests.c index 52c14d4e..d47eaef7 100644 --- a/tests/vb2_nvstorage_tests.c +++ b/tests/vb2_nvstorage_tests.c @@ -73,12 +73,12 @@ static struct nv_field nv2fields[] = { {0, 0, 0, 0, NULL} }; -static void test_changed(struct vb2_context *ctx, int changed, const char *why) +static void test_changed(struct vb2_context *c, int changed, const char *why) { if (changed) - TEST_NEQ(ctx->flags & VB2_CONTEXT_NVDATA_CHANGED, 0, why); + TEST_NEQ(c->flags & VB2_CONTEXT_NVDATA_CHANGED, 0, why); else - TEST_EQ(ctx->flags & VB2_CONTEXT_NVDATA_CHANGED, 0, why); + TEST_EQ(c->flags & VB2_CONTEXT_NVDATA_CHANGED, 0, why); }; static void nv_storage_test(uint32_t ctxflags) |