svn commit: r269188 - head/sys/dev/vt

Aleksandr Rybalko ray at FreeBSD.org
Mon Jul 28 14:22:34 UTC 2014


Author: ray
Date: Mon Jul 28 14:22:34 2014
New Revision: 269188
URL: http://svnweb.freebsd.org/changeset/base/269188

Log:
  Avoid embedding buffers into static virtual terminal window.
  
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/vt/vt_core.c

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Mon Jul 28 14:20:31 2014	(r269187)
+++ head/sys/dev/vt/vt_core.c	Mon Jul 28 14:22:34 2014	(r269188)
@@ -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,


More information about the svn-src-head mailing list