summaryrefslogtreecommitdiff
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-31 10:30:33 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-31 15:35:49 +0000
commit9e7d69fd86c229329a53242cd1bb756f9d24d602 (patch)
treef8717807e3a0765d415244057323530f19e52a82 /tools/checkAPIs.pl
parent493e4136365a9a73f5942dd33105c1bb5aecc948 (diff)
downloadwireshark-9e7d69fd86c229329a53242cd1bb756f9d24d602.tar.gz
checkAPIs.pl: Error/warnings output goes to STDERR
Change-Id: Ib6f460147c26c4fbfb9bd0fd8dd0dd12561be9ea Reviewed-on: https://code.wireshark.org/review/6177 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index f616a8f1fa..caec56de52 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -1447,12 +1447,12 @@ sub checkAddTextCalls($$)
(($total_count > 50) && ($total_count <= 100) && ($percentage > 40)) ||
(($total_count > 100) && ($total_count <= 200) && ($percentage > 30)) ||
(($total_count > 200) && ($percentage > 20))) {
- printf "%s: found %d useless add_text() vs. %d add_<something else>() calls (%.2f%%)\n",
+ printf STDERR "%s: found %d useless add_text() vs. %d add_<something else>() calls (%.2f%%)\n",
$filename, $add_text_count, $add_xxx_count, $percentage;
}
} else {
if ($percentage > 50) {
- printf "%s: found %d useless add_text() vs. %d add_<something else>() calls (%.2f%%)\n",
+ printf STDERR "%s: found %d useless add_text() vs. %d add_<something else>() calls (%.2f%%)\n",
$filename, $add_text_count, $add_xxx_count, $percentage;
}
}
@@ -1691,7 +1691,7 @@ sub check_ett_registration($$)
}xgiom);
if (!@ett_declarations) {
- print "Found no etts in ".$filename."\n";
+ print STDERR "Found no etts in ".$filename."\n";
return;
}
@@ -1720,7 +1720,7 @@ sub check_ett_registration($$)
#print "Found this ett registration block in ".$filename.": ".join(',', @reg_blocks)."\n";
if (@reg_blocks == 0) {
- print "Hmm, found ".@reg_blocks." ett registration blocks in ".$filename."\n";
+ print STDERR "Hmm, found ".@reg_blocks." ett registration blocks in ".$filename."\n";
# For now...
return;
}