intel/tools/error: Fix null termination of ring name string.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Nov 2017 06:51:07 +0000 (22:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Nov 2017 01:11:01 +0000 (17:11 -0800)
commiteb8ad56ed2ee005ae7bbff3ff87fb1bcc1b6e4f1
tree8484b9750d63efee2fe99f5a1a85fc7597d2203d
parentac17b38e797a77283970002b3ca7469a63c8afef
intel/tools/error: Fix null termination of ring name string.

Ported from intel_error_decode.  We don't want to run off the end.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/intel/tools/aubinator_error_decode.c