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>
This commit is contained in:
parent
cb4261e0bf
commit
8d4a222e12
@ -62,7 +62,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
END {
|
END {
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
print "Warning in " substr(last_file,6) ":"
|
print "Warning in " substr(last_file,7) ":"
|
||||||
print MESSAGE
|
print MESSAGE
|
||||||
exit RET_ON_FAIL
|
exit RET_ON_FAIL
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user