commit | 7c04aeee40e9cced2656e286b2dc4bfbe8008a9f | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Nov 06 19:20:09 2012 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Nov 06 19:30:16 2012 -0200 |
tree | a5893622844427f2f393286fee4643d9b3634e84 | |
parent | c84127372112642464fe3d266ffe58bbc1bc37f3 [diff] [blame] |
tools: use program_invocation_short_name provided by libc Thanks to Dave Reisner for pointing this out.
diff --git a/tools/rmmod.c b/tools/rmmod.c index 7be4604..0495463 100644 --- a/tools/rmmod.c +++ b/tools/rmmod.c
@@ -57,7 +57,7 @@ "\t-v, --verbose enables more messages\n" "\t-V, --version show version\n" "\t-h, --help show this help\n", - binname); + program_invocation_short_name); } static int check_module_inuse(struct kmod_module *mod) {