summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorClaudio Fontana2022-09-29 11:30:32 +0200
committerPaolo Bonzini2022-11-06 09:48:50 +0100
commitdbc0e80553c067f56cb236d9de2cd0d50f3c6131 (patch)
tree623881e9b55c5d6de34f5b9f497e6e964086a465 /block
parentmodule: removed unused function argument "mayfail" (diff)
downloadqemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.gz
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.tar.xz
qemu-dbc0e80553c067f56cb236d9de2cd0d50f3c6131.zip
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')
-rw-r--r--block/dmg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/dmg.c b/block/dmg.c
index 422136276a..b5a93b086b 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;