sim: m68hc11: fix up cycle buffer printing
authorMike Frysinger <vapier@gentoo.org>
Sat, 8 May 2021 01:53:25 +0000 (21:53 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 8 May 2021 01:55:27 +0000 (21:55 -0400)
commit8a16cc4b934b2dee897837b7c68b9393cfd5ef5a
treee8d41af2ebe7b86c5f83ea2e014da55dbc961709
parentf6593c3d4becb7bf53dde35e8adcd63ac2390e0f
sim: m68hc11: fix up cycle buffer printing

Make sure the local static buffer is large enough, and simplify the
sprintf for merging the fields all into one.  This fixes compiler
warnings from buf possibly being overflowed.
sim/m68hc11/ChangeLog
sim/m68hc11/dv-m68hc11tim.c