summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_atom.c b/sfeed_atom.c
index ace7d5a..99facad 100644
--- a/sfeed_atom.c
+++ b/sfeed_atom.c
@@ -130,7 +130,7 @@ main(int argc, char *argv[])
if ((now = time(NULL)) == (time_t)-1)
errx(1, "time");
if (!(tm = gmtime_r(&now, &tmnow)))
- err(1, "gmtime_r");
+ err(1, "gmtime_r: can't get current time");
fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<feed xmlns=\"http://www.w3.org/2005/Atom\">\n"