summaryrefslogtreecommitdiff
path: root/sfeed_mbox.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-23 20:49:39 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-23 20:49:39 +0200
commitf42fdb634ee5ecfb9d2536f4a45352d81a505b33 (patch)
tree28ba448d634bcba92498c743f0259a137e5b9289 /sfeed_mbox.c
parent1309b40bb5b92ef835ce48cf11c57721a5dbdbe7 (diff)
sfeed_mbox: clarify format time error (strftime)
Diffstat (limited to 'sfeed_mbox.c')
-rw-r--r--sfeed_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index 743d23c..a093c46 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -92,7 +92,7 @@ printfeed(FILE *fp, const char *feedname)
if (!gmtime_r(&parsedtime, &tm))
errx(1, "gmtime_r: can't get current time");
if (!strftime(mtimebuf, sizeof(mtimebuf), "%a %b %d %H:%M:%S %Y", &tm))
- errx(1, "can't format current time");
+ errx(1, "strftime: can't format current time");
while (parseline(&line, &linesize, fields, fp) > 0) {
parsedtime = 0;