aboutsummaryrefslogtreecommitdiff
path: root/distamp.ha
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2024-10-17 11:01:15 +0200
committerJulian Hurst <julian.hurst@digdash.com>2024-10-17 11:01:15 +0200
commitdd64dfa77837d91c94920515ea943ecc0306ae3f (patch)
tree1eca573fa9e40205fa35bdf4ef054d833be45032 /distamp.ha
parentd5c1a74dd5af1398521b2e2b58d55c9277928ab0 (diff)
downloaddistamp-dd64dfa77837d91c94920515ea943ecc0306ae3f.tar.gz
fprintln -> errorln
Diffstat (limited to 'distamp.ha')
-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));