summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2016-07-07 16:24:36 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-08 17:48:03 +0200
commit840e5dfea3f8216ecbc07cf5570a9fbfd4fcfbbd (patch)
treeddbe65f3d2275be288dfa4e36f64b3df01188b19 /buildtools
parent33e2e3061da1f29df34c7a49891f69078f6ac16d (diff)
downloaddpdk-840e5dfea3f8216ecbc07cf5570a9fbfd4fcfbbd.zip
dpdk-840e5dfea3f8216ecbc07cf5570a9fbfd4fcfbbd.tar.gz
dpdk-840e5dfea3f8216ecbc07cf5570a9fbfd4fcfbbd.tar.xz
pmdinfogen: fix usage message
The name of the tool is pmdinfogen. Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/pmdinfogen/pmdinfogen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c
index beb06f1..717c8d4 100644
--- a/buildtools/pmdinfogen/pmdinfogen.c
+++ b/buildtools/pmdinfogen/pmdinfogen.c
@@ -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]);