aboutsummaryrefslogtreecommitdiffstats
path: root/cad/spice/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'cad/spice/files/patch-ac')
-rw-r--r--cad/spice/files/patch-ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/cad/spice/files/patch-ac b/cad/spice/files/patch-ac
index 8ffa725d64cf..8ad35674f7b2 100644
--- a/cad/spice/files/patch-ac
+++ b/cad/spice/files/patch-ac
@@ -25,19 +25,19 @@
case 1: printf("Input file: ");
(void) fflush(stdout);
-! (void) fgets(buf,256,stdin);
+! (void) fgets(buf,BSIZE_SP,stdin);
sf = copy(buf);
printf("Input type: ");
(void) fflush(stdout);
-! (void) fgets(buf,256,stdin);
+! (void) fgets(buf,BSIZE_SP,stdin);
f = buf[0];
printf("Output file: ");
(void) fflush(stdout);
-! (void) fgets(buf,256,stdin);
+! (void) fgets(buf,BSIZE_SP,stdin);
af = copy(buf);
printf("Output type: ");
(void) fflush(stdout);
-! (void) fgets(buf,256,stdin);
+! (void) fgets(buf,BSIZE_SP,stdin);
t = buf[0];
break;
default:
@@ -56,7 +56,7 @@
fprintf(cp_out, "run circuit? ");
fflush(cp_out);
-! (void) fgets(buf,256,stdin);
+! (void) fgets(buf,BSIZE_SP,stdin);
if (buf[0] != 'n') {
fprintf(cp_out, "running circuit\n");
com_run(NULL);