diff options
author | des <des@FreeBSD.org> | 1999-02-05 12:40:16 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1999-02-05 12:40:16 +0000 |
commit | 481c70e8c63e3fbab220e098337004d6ce732010 (patch) | |
tree | 5ba8c67a07a3ce807cbac5b8e2e5fcf4c4512383 /sys/dev/syscons/daemon/daemon_saver.c | |
parent | 6b5cb42c67aa5bea7e114c03e3ff298be4e22f17 (diff) | |
download | FreeBSD-src-481c70e8c63e3fbab220e098337004d6ce732010.zip FreeBSD-src-481c70e8c63e3fbab220e098337004d6ce732010.tar.gz |
Followup to yokota's last commit:
- va_mode_flags -> va_info.vi_flags
- scanline width may be different from screen width
Diffstat (limited to 'sys/dev/syscons/daemon/daemon_saver.c')
-rw-r--r-- | sys/dev/syscons/daemon/daemon_saver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/daemon/daemon_saver.c b/sys/dev/syscons/daemon/daemon_saver.c index 09f6caf..423e6c7 100644 --- a/sys/dev/syscons/daemon/daemon_saver.c +++ b/sys/dev/syscons/daemon/daemon_saver.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: daemon_saver.c,v 1.13 1999/01/11 03:18:45 yokota Exp $ + * $Id: daemon_saver.c,v 1.14 1999/01/17 14:25:08 yokota Exp $ */ #include <sys/param.h> @@ -199,7 +199,7 @@ daemon_saver(video_adapter_t *adp, int blank) int min, max; if (blank) { - if (adp->va_mode_flags & V_INFO_GRAPHICS) + if (adp->va_info.vi_flags & V_INFO_GRAPHICS) return EAGAIN; if (blanked == 0) { window = (u_short *)adp->va_window; |