filter-known-issues: fix missing variable printing

This is a corner case that barely hits and thus we had not seen it
before.

Change-Id: Ie1420a4c866834e5a233985c6b8a19643426a1f5
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
Inaky Perez-Gonzalez 2017-02-24 16:42:27 -08:00 committed by Anas Nashif
commit 5907a56264

View file

@ -229,8 +229,8 @@ for filename in args.FILENAMEs:
offset = e
mm.seek(offset)
if len(mm) != offset:
logging.info("%s: error final range (%d, %d), from %d %dB",
filename, b, e, offset, e - b)
logging.info("%s: error final range from %d %dB",
filename, offset, len(mm))
report_error(mm.read(len(mm) - offset - 1))
del mm
except Exception as e: