summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-11-04 10:36:54 +0100
committerRichard Levitte <levitte@openssl.org>2019-11-05 22:44:21 +0100
commitb6fc6620cff7e5971757ad1c50edd022fdaffc04 (patch)
tree6b69961539922b8f5c760403a925158030f6049c /util
parent8635730333af792fae75394bb593afe4054da238 (diff)
util/mknum.pl: output stats on unassigned symbols
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10348)
Diffstat (limited to 'util')
-rw-r--r--util/mknum.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/mknum.pl b/util/mknum.pl
index bf73797c3f..871c07055b 100644
--- a/util/mknum.pl
+++ b/util/mknum.pl
@@ -128,5 +128,9 @@ if ($checkexist) {
} else {
print STDERR "${ordinals_file}: No new symbols added\n";
}
-
+ if ($stats{unassigned}) {
+ my $symbol = $stats{unassigned} == 1 ? "symbol" : "symbols";
+ my $is = $stats{unassigned} == 1 ? "is" : "are";
+ print STDERR "${ordinals_file}: $stats{unassigned} $symbol $is without ordinal number\n";
+ }
}