From: Thomas Monjalon Date: Thu, 7 Jul 2016 14:24:36 +0000 (+0200) Subject: pmdinfogen: fix usage message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=840e5dfea3f8;p=dpdk.git pmdinfogen: fix usage message The name of the tool is pmdinfogen. Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") Signed-off-by: Thomas Monjalon Acked-by: Neil Horman --- diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c index beb06f171d..717c8d4bf5 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 \n"); + "usage: %s \n", + basename(argv[0])); exit(127); } parse_elf(&info, argv[1]);