summaryrefslogtreecommitdiff
path: root/sfeed_twtxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_twtxt.c')
-rw-r--r--sfeed_twtxt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c
index cda85ee..ef80e2d 100644
--- a/sfeed_twtxt.c
+++ b/sfeed_twtxt.c
@@ -28,7 +28,7 @@ printfeed(FILE *fp, const char *feedname)
if (strtotime(fields[FieldUnixTimestamp], &parsedtime))
continue;
if (!(tm = gmtime(&parsedtime)))
- err(1, "localtime");
+ err(1, "gmtime");
fprintf(stdout, "%04d-%02d-%02dT%02d:%02d:%02dZ\t",
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,