commit 449f390cddf6115f02433f1afcc80bfced4985dc
parent 3be849edd08f4723d02a077e1b36bcbdb0815a9e
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 6 Apr 2021 09:05:33 -0400
io::println: don't write to stderr
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io/println.ha b/io/println.ha
@@ -14,7 +14,7 @@ export fn println(msgs: str...) void = {
};
};
const linefeed = "\n";
- rt::write(2, *(&linefeed: **void): *const char, 1);
+ rt::write(1, *(&linefeed: **void): *const char, 1);
};
// Prints strings to stderr, separated by spaces, and followed by a newline.