mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
modprobe: re-use modname variable
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
parent
07bf5e1520
commit
6f7ab21645
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user