Module Name: src Committed By: dholland Date: Sat Jun 11 06:33:30 UTC 2016
Modified Files: src/sys/arch/mvme68k/stand/netboot: boot.c Log Message: PR 51200 gets in libsa considered harmful: use kgets To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mvme68k/stand/netboot/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/mvme68k/stand/netboot/boot.c diff -u src/sys/arch/mvme68k/stand/netboot/boot.c:1.16 src/sys/arch/mvme68k/stand/netboot/boot.c:1.17 --- src/sys/arch/mvme68k/stand/netboot/boot.c:1.16 Sat Jan 12 09:54:32 2008 +++ src/sys/arch/mvme68k/stand/netboot/boot.c Sat Jun 11 06:33:30 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: boot.c,v 1.16 2008/01/12 09:54:32 tsutsui Exp $ */ +/* $NetBSD: boot.c,v 1.17 2016/06/11 06:33:30 dholland Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 @@ -66,7 +66,7 @@ main(void) for (;;) { if (ask) { printf("boot: "); - gets(line); + kgets(line, sizeof(line)); if (line[0]) { bugargs.arg_start = line; cp = line;