svn commit: r276074 - head/sys/boot/i386/libi386

Warner Losh imp at FreeBSD.org
Mon Dec 22 19:10:12 UTC 2014


Author: imp
Date: Mon Dec 22 19:10:11 2014
New Revision: 276074
URL: https://svnweb.freebsd.org/changeset/base/276074

Log:
  Make this compile when TERM_EMU is not defined.

Modified:
  head/sys/boot/i386/libi386/spinconsole.c

Modified: head/sys/boot/i386/libi386/spinconsole.c
==============================================================================
--- head/sys/boot/i386/libi386/spinconsole.c	Mon Dec 22 19:08:09 2014	(r276073)
+++ head/sys/boot/i386/libi386/spinconsole.c	Mon Dec 22 19:10:11 2014	(r276074)
@@ -86,9 +86,11 @@ spinc_putchar(int c)
 	if (now < (lasttime + 1))
 		return;
 	lasttime = now;
+#ifdef TERM_EMU
 	get_pos(&curx, &cury);
 	if (curx > 0)
 		curs_move(&curx, &cury, curx - 1, cury);
+#endif
 	vidc_biosputchar((char)tw_chars);
 	tw_chars = (tw_chars >> 8) | ((tw_chars & (unsigned long)0xFF) << 24);
 }


More information about the svn-src-head mailing list