Module Name: src
Committed By: dholland
Date: Sat Jun 11 06:57:46 UTC 2016
Modified Files:
src/sys/arch/x68k/stand/boot: boot.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x68k/stand/boot/boot.c
diff -u src/sys/arch/x68k/stand/boot/boot.c:1.23 src/sys/arch/x68k/stand/boot/boot.c:1.24
--- src/sys/arch/x68k/stand/boot/boot.c:1.23 Sat Jun 11 06:50:21 2016
+++ src/sys/arch/x68k/stand/boot/boot.c Sat Jun 11 06:57:46 2016
@@ -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 @@ bootmenu(void)
char *p, *options;
printf("> ");
- kgets(input, sizeof(input));
+ gets(input);
for (p = &input[0]; p - &input[0] < 80 && *p == ' '; p++)
;