Avoid embedding buffers into static virtual terminal window.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Aleksandr Rybalko 2014-07-28 14:22:34 +00:00
parent 0ebe0000b6
commit 9a0f8af7d4

View File

@ -166,8 +166,8 @@ static struct vt_window vt_conswindow = {
.vw_number = VT_CONSWINDOW,
.vw_flags = VWF_CONSOLE,
.vw_buf = {
.vb_buffer = vt_constextbuf,
.vb_rows = vt_constextbufrows,
.vb_buffer = &vt_constextbuf[0],
.vb_rows = &vt_constextbufrows[0],
.vb_history_size = VBF_DEFAULT_HISTORY_SIZE,
.vb_curroffset = 0,
.vb_roffset = 0,