]> diplodocus.org Git - nmh/blobdiff - sbr/read_switch.c
One last fix to test-charset.
[nmh] / sbr / read_switch.c
index 8553001aba64a72d2d53c56745b39cd9fa4bda0b..c700243b011388e5f16bf0c51ac85b20a4b9a394 100644 (file)
@@ -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') {