]> git.droids-corp.org - dpdk.git/commitdiff
pmdinfogen: fix usage message
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 Jul 2016 14:24:36 +0000 (16:24 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 8 Jul 2016 15:48:03 +0000 (17:48 +0200)
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>
buildtools/pmdinfogen/pmdinfogen.c

index beb06f171ddb2d9de474bd8b71927d1636ab8441..717c8d4bf50b064e4332231db799ebd9ff1633b2 100644 (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]);