From: Aivils S. <ai...@us...> - 2003-11-12 12:17:24
|
Update of /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char In directory sc8-pr-cvs1:/tmp/cvs-serv24558/ruby-2.6/drivers/char Modified Files: vt_ioctl.c Log Message: VT_OPENQRY fix Index: vt_ioctl.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char/vt_ioctl.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- vt_ioctl.c 2 Oct 2003 09:32:18 -0000 1.4 +++ vt_ioctl.c 12 Nov 2003 12:16:59 -0000 1.5 @@ -1027,7 +1027,7 @@ if (!tmp || (tmp && !VT_IS_IN_USE(tmp))) break; } - ucval = i < vc->display_fg->vc_count ? (j) : -1; + ucval = i < vc->display_fg->vc_count ? (j + 1) : -1; goto setint; } /* |