X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/9646482db2f5429ce1bcbeaebeb85c9c1b9af87c..de37b64085838de48894200ae2b9d49417668a76:/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); } }