summaryrefslogtreecommitdiff
path: root/tools/modprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/modprobe.c')
-rw-r--r--tools/modprobe.c2
1 files changed, 1 insertions, 1 deletions
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;