summaryrefslogtreecommitdiff
path: root/src/lib/rmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rmodule.c')
-rw-r--r--src/lib/rmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c
index 13eb324aa8..628195cafa 100644
--- a/src/lib/rmodule.c
+++ b/src/lib/rmodule.c
@@ -295,7 +295,7 @@ int rmodule_stage_load(struct rmod_stage_load *rsl)
if (map == NULL)
return -1;
- fsize = ulzma(map, rmod_loc);
+ fsize = ulzman(map, stage.len, rmod_loc, stage.memlen);
rdev_munmap(fh, map);