summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkinfo.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mkinfo.pl b/tools/mkinfo.pl
index c97ff68a4d..8d8e12fae4 100755
--- a/tools/mkinfo.pl
+++ b/tools/mkinfo.pl
@@ -42,6 +42,8 @@ sub mapscan {
$start = $1;
}
}
+ close(M);
+
# return number of bytes
return hex($end) - hex($start);
}