summary refs log tree commit diff stats
path: root/tests/test-bdrv-graph-mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-bdrv-graph-mod.c')
-rw-r--r--tests/test-bdrv-graph-mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-bdrv-graph-mod.c b/tests/test-bdrv-graph-mod.c
index a007754d9e..fef42cb294 100644
--- a/tests/test-bdrv-graph-mod.c
+++ b/tests/test-bdrv-graph-mod.c
@@ -30,7 +30,7 @@ static BlockDriver bdrv_pass_through = {
 };
 
 static void no_perm_default_perms(BlockDriverState *bs, BdrvChild *c,
-                                         const BdrvChildRole *role,
+                                         const BdrvChildClass *child_class,
                                          BlockReopenQueue *reopen_queue,
                                          uint64_t perm, uint64_t shared,
                                          uint64_t *nperm, uint64_t *nshared)