mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
when rom file is too big, mention how many bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5046 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
948e384f4d
commit
5a8b99fd6b
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ my $max = $romsize - $romstart;
|
||||||
my $file = filesize($ARGV[1]);
|
my $file = filesize($ARGV[1]);
|
||||||
|
|
||||||
if($file > $max ) {
|
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;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue