]> git.droids-corp.org - dpdk.git/blobdiff - devtools/check-symbol-change.sh
devtools: report the incorrect section when complaining
[dpdk.git] / devtools / check-symbol-change.sh
index 1d21e9165463db80042cc7ed02b1395b49f8aa2d..4b8d9f3c7cb5b78ef19fe28e2028201c6abbfa5c 100755 (executable)
@@ -115,8 +115,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