From f42fdb634ee5ecfb9d2536f4a45352d81a505b33 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 23 Aug 2015 20:49:39 +0200 Subject: sfeed_mbox: clarify format time error (strftime) --- sfeed_mbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3