X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a5a1425258ffb1f72e853b6adc6ff0ae58c636bd..29db9a64a:/sbr/read_switch_multiword.c?ds=inline diff --git a/sbr/read_switch_multiword.c b/sbr/read_switch_multiword.c index 582e11f9..3521c5b5 100644 --- a/sbr/read_switch_multiword.c +++ b/sbr/read_switch_multiword.c @@ -1,6 +1,4 @@ - -/* - * read_switch_multiword.c -- get an answer from the user and return a string array +/* read_switch_multiword.c -- get an answer from the user and return a string array * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -35,7 +33,7 @@ read_switch_multiword (const char *prompt, const struct swit *ansp) } for (;;) { - printf ("%s", prompt); + fputs(prompt, stdout); fflush (stdout); cp = ansbuf; while ((i = getchar ()) != '\n') {