Module Name:    src
Committed By:   isaki
Date:           Thu Aug  4 12:15:08 UTC 2016

Modified Files:
        src/sys/arch/x68k/stand/boot: boot.c

Log Message:
gets -> kgets. the last part of PR/51200.
It was using libsa's gets, so it's possible to change to kgets
as rev 1.23.  I've confirmed that it works.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 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.29 src/sys/arch/x68k/stand/boot/boot.c:1.30
--- src/sys/arch/x68k/stand/boot/boot.c:1.29	Sun Jun 26 04:17:17 2016
+++ src/sys/arch/x68k/stand/boot/boot.c	Thu Aug  4 12:15:07 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: boot.c,v 1.29 2016/06/26 04:17:17 isaki Exp $	*/
+/*	$NetBSD: boot.c,v 1.30 2016/08/04 12:15:07 isaki Exp $	*/
 
 /*
  * Copyright (c) 2001 Minoura Makoto
@@ -333,7 +333,7 @@ bootmenu(void)
 		char *p, *options;
 
 		printf("> ");
-		gets(input);
+		kgets(input, sizeof(input));
 
 		for (p = &input[0]; p - &input[0] < 80 && *p == ' '; p++)
 			;

Reply via email to