Merged from sys/dev/syscons/syscons.c revision 1.379.

This commit is contained in:
Yoshihiro Takahashi 2002-03-25 13:34:37 +00:00
parent 0b61a106b2
commit fd9fe3e748

View File

@ -740,6 +740,7 @@ scioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
vid_info_t *ptr = (vid_info_t*)data; vid_info_t *ptr = (vid_info_t*)data;
if (ptr->size == sizeof(struct vid_info)) { if (ptr->size == sizeof(struct vid_info)) {
ptr->m_num = sc->cur_scp->index; ptr->m_num = sc->cur_scp->index;
ptr->font_size = scp->font_size;
ptr->mv_col = scp->xpos; ptr->mv_col = scp->xpos;
ptr->mv_row = scp->ypos; ptr->mv_row = scp->ypos;
ptr->mv_csz = scp->xsize; ptr->mv_csz = scp->xsize;