pmdinfogen: fix usage message
The name of the tool is pmdinfogen.
Fixes: 98b0fdb0ff
("pmdinfogen: add buildtools and pmdinfogen utility")
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
parent
33e2e3061d
commit
840e5dfea3
@ -398,7 +398,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if (argc < 3) {
|
if (argc < 3) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: pmdinfo <object file> <c output file>\n");
|
"usage: %s <object file> <c output file>\n",
|
||||||
|
basename(argv[0]));
|
||||||
exit(127);
|
exit(127);
|
||||||
}
|
}
|
||||||
parse_elf(&info, argv[1]);
|
parse_elf(&info, argv[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user