From: Ben Gras Date: Wed, 14 Jan 2009 08:56:20 +0000 (+0000) Subject: make bootinfo valid immediately X-Git-Tag: v3.1.4~133 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=36909196cf238635c45e1a3ec7ad4a85a1c8cf1f;p=minix.git make bootinfo valid immediately --- diff --git a/drivers/tty/console.c b/drivers/tty/console.c index 999ce9752..216f0a428 100644 --- a/drivers/tty/console.c +++ b/drivers/tty/console.c @@ -1033,9 +1033,9 @@ tty_t *tp; memset(&boot_tty_info, 0, sizeof(boot_tty_info)); UPDATE_CURSOR(cons, cons->c_cur); - UPDATE_ORIGIN(cons, cons->c_org); boot_tty_info.flags = BTIF_CONSCURSOR | BTIF_CONSORIGIN; boot_tty_info.magic = TTYMAGIC; + UPDATE_ORIGIN(cons, cons->c_org); } select_console(0); cons_ioctl(tp, 0);