commit f42fdb634ee5ecfb9d2536f4a45352d81a505b33
parent 1309b40bb5b92ef835ce48cf11c57721a5dbdbe7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 23 Aug 2015 20:49:39 +0200
sfeed_mbox: clarify format time error (strftime)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;