Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 23:53:47 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r244326 - projects/calloutng/sys/dev/syscons
Message-ID:  <201212162353.qBGNrldL075818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Dec 16 23:53:46 2012
New Revision: 244326
URL: http://svnweb.freebsd.org/changeset/base/244326

Log:
  Fix the build with gcc.

Modified:
  projects/calloutng/sys/dev/syscons/syscons.c

Modified: projects/calloutng/sys/dev/syscons/syscons.c
==============================================================================
--- projects/calloutng/sys/dev/syscons/syscons.c	Sun Dec 16 23:46:59 2012	(r244325)
+++ projects/calloutng/sys/dev/syscons/syscons.c	Sun Dec 16 23:53:46 2012	(r244326)
@@ -1828,6 +1828,9 @@ scrn_timer(void *arg)
     else
 	return;
 
+    /* find the vty to update */
+    scp = sc->cur_scp;
+
     /* don't do anything when we are performing some I/O operations */
     if (suspend_in_progress || sc->font_loading_in_progress)
 	goto done;
@@ -1849,9 +1852,6 @@ scrn_timer(void *arg)
     }
 #endif /* PC98 */
 
-    /* find the vty to update */
-    scp = sc->cur_scp;
-
     /* should we stop the screen saver? */
     if (debugger > 0 || panicstr || shutdown_in_progress)
 	sc_touch_scrn_saver();



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