Signed-off-by: Lucas De Marchi <lucas.de.marchi@xxxxxxxxx> --- tools/modprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/modprobe.c b/tools/modprobe.c index 830c667..a825fb5 100644 --- a/tools/modprobe.c +++ b/tools/modprobe.c @@ -324,7 +324,7 @@ static int rmmod_do_remove_module(struct kmod_module *mod) const char *modname = kmod_module_get_name(mod); int flags = 0, err; - SHOW("rmmod %s\n", kmod_module_get_name(mod)); + SHOW("rmmod %s\n", modname); if (dry_run) return 0; -- 2.36.1