diff options
Diffstat (limited to 'src/lib/rmodule.c')
-rw-r--r-- | src/lib/rmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c index 585fb5f2ef..9825e6a50f 100644 --- a/src/lib/rmodule.c +++ b/src/lib/rmodule.c @@ -296,5 +296,8 @@ int rmodule_stage_load(struct rmod_stage_load *rsl) rmodule_memory_size(&rmod_stage)); prog_set_entry(rsl->prog, rmodule_entry(&rmod_stage), NULL); + /* Allow caller to pick up parameters, if available. */ + rsl->params = rmodule_parameters(&rmod_stage); + return 0; } |