]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When toggling the display using the "m" command to toggle from 'cpu'
authorcy <cy@FreeBSD.org>
Tue, 3 Jul 2018 02:54:32 +0000 (02:54 +0000)
committercy <cy@FreeBSD.org>
Tue, 3 Jul 2018 02:54:32 +0000 (02:54 +0000)
commit6159d2f2e4cfd059a14b898d24fb488a53b45b4f
tree28174131dd8a0709d3f027f8de0b7afeb67a62ae
parent71bf69db2d82e955b654ec565a84ac817faf6191
When toggling the display using the "m" command to toggle from 'cpu'
mode to 'io' mode, an artifact remains because the buffer is not
"finished" with a NULL terminator using sbuf_finish().

An example of this is, when the "m" command is entered, the title line
will contain COMMANDND instead of COMMAND. This commit fixes this.
usr.bin/top/machine.c