X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a5a1425258ffb1f72e853b6adc6ff0ae58c636bd..abe05007f1499f76406cb5545f6cc4d60d4dc250:/sbr/read_switch.c diff --git a/sbr/read_switch.c b/sbr/read_switch.c index 8553001a..c700243b 100644 --- a/sbr/read_switch.c +++ b/sbr/read_switch.c @@ -19,7 +19,7 @@ read_switch (const char *prompt, const struct swit *ansp) char ansbuf[BUFSIZ]; for (;;) { - printf ("%s", prompt); + fputs(prompt, stdout); fflush (stdout); cp = ansbuf; while ((i = getchar ()) != '\n') {