]> thyrsus.com Git - intercal.git/commitdiff
Fix a broken fprintf that was producing unstable output.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 31 Aug 2010 18:40:06 +0000 (14:40 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 31 Aug 2010 18:40:06 +0000 (14:40 -0400)
src/ick_lose.c

index c54f7ce50d6c4e83f77fcebcd837dc05b41a59cb..6e5b2b99acf20c6a34046c5f42c4861ffc92ab12 100644 (file)
@@ -64,8 +64,8 @@ void ick_lwarn(const char *m, int n, const char *s)
   else if(m[0]!='2'||m[1]!='7'||m[2]!='8')
     (void) fprintf(stderr, m + 4, n);
   else
-    (void) fprintf(stderr, m + 4);
-  (void) fprintf(stderr, "        RECONSIDER SOURCE AND RESUBNIT\n\n");
+      (void) fputs(m + 4, stderr);
+  (void) fputs("        RECONSIDER SOURCE AND RESUBNIT\n\n", stderr);
   /* Don't exit. This is not any error except one not causing immediate
      termination of program execution. */
 }