aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distamp.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/distamp.ha b/distamp.ha
index fc5cf28..215eb07 100644
--- a/distamp.ha
+++ b/distamp.ha
@@ -31,7 +31,7 @@ export fn main() void = {
case let e: date::parsefail =>
let s = strings::concat(date::strerror(e), "\n", "Date format must be 'year-month-day hour:minute:second'");
defer free(s);
- fmt::fprintln(os::stderr, s)!;
+ fmt::errorln(s)!;
return;
case let e: date::error =>
fmt::fatal(date::strerror(e));