diff --git a/tools/romsizetest.pl b/tools/romsizetest.pl index 6f260caa8d..4dd8d401af 100755 --- a/tools/romsizetest.pl +++ b/tools/romsizetest.pl @@ -27,6 +27,6 @@ my $max = $romsize - $romstart; my $file = filesize($ARGV[1]); if($file > $max ) { - print "Output is larger than max ($max)\n"; + printf "Output is %d bytes larger than max ($max)\n", $file-$max; exit 1; }