X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=inline;f=devtools%2Fcheck-symbol-change.sh;h=020da7ed0303253627c4291de0b50eda1a2712ce;hb=55878866eb2b6d4e00ff5624259a92f13e10b481;hp=1d21e9165463db80042cc7ed02b1395b49f8aa2d;hpb=5a5f4676eb93fa410b56df060a6d0c7603469f81;p=dpdk.git diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh index 1d21e91654..020da7ed03 100755 --- a/devtools/check-symbol-change.sh +++ b/devtools/check-symbol-change.sh @@ -31,6 +31,7 @@ build_map_changes() # Triggering this rule sets in_sec to 1, which actives the # symbol rule below /^.*{/ { + gsub("+", ""); if (in_map == 1) { sec=$(NF-1); in_sec=1; } @@ -115,8 +116,9 @@ check_for_rule_violations() if [ $? -ne 0 ] then echo -n "ERROR: symbol $symname " - echo -n "is added in a section " - echo -n "other than the EXPERIMENTAL " + echo -n "is added in the $secname " + echo -n "section, but is expected to " + echo -n "be added in the EXPERIMENTAL " echo "section of the version map" ret=1 fi