summaryrefslogtreecommitdiff
blob: 3caa80f787c4fa12e650d12222e2b5ca9227d0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/arithchk.c
+++ b/arithchk.c
@@ -122,7 +122,7 @@
 	long Cray1;
 
 	/* Cray1 = 4617762693716115456 -- without overflow on non-Crays */
-	Cray1 = printf(emptyfmt) < 0 ? 0 : 4617762;
+	Cray1 = fputs(emptyfmt, stdout) < 0 ? 0 : 4617762;
 	if (printf(emptyfmt, Cray1) >= 0)
 		Cray1 = 1000000*Cray1 + 693716;
 	if (printf(emptyfmt, Cray1) >= 0)