Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/boot Revert this one; I can't tell for s...



details:   https://anonhg.NetBSD.org/src/rev/441852c73512
branches:  trunk
changeset: 345857:441852c73512
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jun 11 06:57:46 2016 +0000

description:
Revert this one; I can't tell for sure if it's using libsa gets or its
own firmware one in ../libdos. If the latter, switching and bringing
in the libsa one (a) might not work and (b) might make the bootloader
overflow size limits.

PR 51200.

diffstat:

 sys/arch/x68k/stand/boot/boot.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r edf6f9d2936c -r 441852c73512 sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c   Sat Jun 11 06:50:21 2016 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c   Sat Jun 11 06:57:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.23 2016/06/11 06:50:21 dholland Exp $       */
+/*     $NetBSD: boot.c,v 1.24 2016/06/11 06:57:46 dholland Exp $       */
 
 /*
  * Copyright (c) 2001 Minoura Makoto
@@ -307,7 +307,7 @@
                char *p, *options;
 
                printf("> ");
-               kgets(input, sizeof(input));
+               gets(input);
 
                for (p = &input[0]; p - &input[0] < 80 && *p == ' '; p++)
                        ;



Home | Main Index | Thread Index | Old Index