devtools: fix path in forbidden token check
authorDavid Marchand <david.marchand@redhat.com>
Mon, 6 Jul 2020 08:00:21 +0000 (10:00 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jul 2020 08:55:19 +0000 (10:55 +0200)
commit8d4a222e12f8ce99714fad5011d76bd6a38c36e3
treed3eeff0b377d4b06db0b24265d57330be5f4dc05
parentcb4261e0bfdc11630bc5bc49569f894c7492dfea
devtools: fix path in forbidden token check

Fix displayed filename by adjusting the extraction from the patch.

Before:
Warning in /lib/librte_eal/linux/eal.c:

After:
Warning in lib/librte_eal/linux/eal.c:

Fixes: 7413e7f2aeb3 ("devtools: alert on new calls to exit from libs")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
devtools/check-forbidden-tokens.awk