aboutsummaryrefslogtreecommitdiff
path: root/block/dmg.c
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2022-09-29 11:30:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-06 09:48:50 +0100
commitdbc0e80553c067f56cb236d9de2cd0d50f3c6131 (patch)
tree623881e9b55c5d6de34f5b9f497e6e964086a465 /block/dmg.c
parent2106106d80489fb9b10cd3ccfaec811988e797cb (diff)
downloadqemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.zip
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.gz
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.bz2
module: rename module_load_one to module_load
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220929093035.4231-3-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/dmg.c')
-rw-r--r--block/dmg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/dmg.c b/block/dmg.c
index 4221362..b5a93b0 100644
--- a/block/dmg.c
+++ b/block/dmg.c
@@ -445,8 +445,8 @@ static int dmg_open(BlockDriverState *bs, QDict *options, int flags,
return ret;
}
- block_module_load_one("dmg-bz2");
- block_module_load_one("dmg-lzfse");
+ block_module_load("dmg-bz2");
+ block_module_load("dmg-lzfse");
s->n_chunks = 0;
s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL;