Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 19:10:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276074 - head/sys/boot/i386/libi386
Message-ID:  <201412221910.sBMJACYw002768@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412221910.sBMJACYw002768>