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:
Thomas Monjalon 2016-07-07 16:24:36 +02:00
parent 33e2e3061d
commit 840e5dfea3

View File

@ -398,7 +398,8 @@ int main(int argc, char **argv)
if (argc < 3) {
fprintf(stderr,
"usage: pmdinfo <object file> <c output file>\n");
"usage: %s <object file> <c output file>\n",
basename(argv[0]));
exit(127);
}
parse_elf(&info, argv[1]);