X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..6ebc4527c6a103d0532c08744fb916f951018413:/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); } }