]> Zhao Yanbai Git Server - minix.git/commitdiff
make bootinfo valid immediately
authorBen Gras <ben@minix3.org>
Wed, 14 Jan 2009 08:56:20 +0000 (08:56 +0000)
committerBen Gras <ben@minix3.org>
Wed, 14 Jan 2009 08:56:20 +0000 (08:56 +0000)
drivers/tty/console.c

index 999ce97528ce784b6b22fd912da0d38950670f68..216f0a4288e3bd784e6acaee54fff02c5cccb618 100644 (file)
@@ -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);