Module Name: src Committed By: dholland Date: Sat Jun 11 06:42:27 UTC 2016
Modified Files: src/sys/arch/vax/boot/boot: boot.c Log Message: PR 51200 gets in libsa considered harmful: use kgets To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/vax/boot/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/vax/boot/boot/boot.c diff -u src/sys/arch/vax/boot/boot/boot.c:1.33 src/sys/arch/vax/boot/boot/boot.c:1.34 --- src/sys/arch/vax/boot/boot/boot.c:1.33 Fri Jun 5 16:01:55 2015 +++ src/sys/arch/vax/boot/boot/boot.c Sat Jun 11 06:42:27 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: boot.c,v 1.33 2015/06/05 16:01:55 martin Exp $ */ +/* $NetBSD: boot.c,v 1.34 2016/06/11 06:42:27 dholland Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. * All rights reserved. @@ -163,7 +163,7 @@ Xmain(void) char *c, *d; printf("> "); - gets(line); + kgets(line, sizeof(line)); c = line; while (*c == ' ')