fixed another typo
authorceriel <none@none>
Mon, 2 May 1988 12:35:39 +0000 (12:35 +0000)
committerceriel <none@none>
Mon, 2 May 1988 12:35:39 +0000 (12:35 +0000)
lang/m2/libm2/Streams.mod

index 6e758c7..bd1b6a9 100644 (file)
@@ -150,7 +150,7 @@ IMPLEMENTATION MODULE Streams;
                IF (cnt > 0) THEN
                        cnt1 := cnt;
                        cnt := 0;
-                       IF Unix.write(fildes, ADR(buf), cnt) < 0 THEN END;
+                       IF Unix.write(fildes, ADR(buf), cnt1) < 0 THEN END;
                END;
        END;
   END FlushStream;