X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/477f956cbdc5001ac57e4ad46b760c694502929f..128962e066a3bebc3ae0caba614d060cfcd29ca9:/lib/dateparse.c diff --git a/lib/dateparse.c b/lib/dateparse.c index be96e8f..a620f81 100644 --- a/lib/dateparse.c +++ b/lib/dateparse.c @@ -62,11 +62,11 @@ time_t dateparse(const char *s) { case 0: return mktime(&t); case 7: - fatal(0, "date string '%s' not in a recognized format", s); + disorder_fatal(0, "date string '%s' not in a recognized format", s); case 8: - fatal(0, "date string '%s' not representable", s); + disorder_fatal(0, "date string '%s' not representable", s); default: - fatal(0, "date string '%s' produced unexpected error %d", s, rc); + disorder_fatal(0, "date string '%s' produced unexpected error %d", s, rc); } }