chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/disorder
[disorder]
/
lib
/
dateparse.c
diff --git
a/lib/dateparse.c
b/lib/dateparse.c
index be96e8f437377590dc9b90aa7d05cfd8f06b841c..a620f81832c8b29d9cabc397ec6ae3bdb9661f44 100644
(file)
--- 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:
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:
case 8:
- fatal(0, "date string '%s' not representable", s);
+
disorder_
fatal(0, "date string '%s' not representable", s);
default:
default:
- fatal(0, "date string '%s' produced unexpected error %d", s, rc);
+
disorder_
fatal(0, "date string '%s' produced unexpected error %d", s, rc);
}
}
}
}