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/insmod.c b/tools/insmod.c index f358b93..427495a 100644 --- a/tools/insmod.c +++ b/tools/insmod.c
@@ -40,7 +40,7 @@ "Options:\n" "\t-V, --version show version\n" "\t-h, --help show this help\n", - binname); + program_invocation_short_name); } static const char *mod_strerror(int err)