aboutsummaryrefslogtreecommitdiffstats
path: root/cad/spice/files/patch-src_lib_fte_misccoms_c
blob: 7a9b3aaa5fddce3cbec290d158eaab51e740f992 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
$OpenBSD: patch-src_lib_fte_misccoms_c,v 1.1 2003/04/14 10:28:03 avsm Exp $
--- src/lib/fte/misccoms.c.orig	Mon Apr 14 11:19:24 2003
+++ src/lib/fte/misccoms.c	Mon Apr 14 11:21:00 2003
@@ -286,7 +286,7 @@ com_quit(wl)
             fprintf(cp_out, 
                 "\nAre you sure you want to quit (yes)? ");
             (void) fflush(cp_out);
-            if (!fgets(buf, BSIZE_SP, stdin)) {
+            if (!fgets(buf, sizeof buf, stdin)) {
                 clearerr(stdin);
                 *buf = 'y';
             }