svn commit: r244326 - projects/calloutng/sys/dev/syscons
Alexander Motin
mav at FreeBSD.org
Sun Dec 16 23:53:47 UTC 2012
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();
More information about the svn-src-projects
mailing list