summaryrefslogtreecommitdiff
path: root/utils/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/time.c')
-rw-r--r--utils/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/time.c b/utils/time.c
index 71fa30fe3..e1f76ca54 100644
--- a/utils/time.c
+++ b/utils/time.c
@@ -109,7 +109,7 @@ static const char * const months[NSC_TIME_MONTH__COUNT] = {
/* exported interface documented in utils/time.h */
const char *rfc1123_date(time_t t)
{
- static char ret[30];
+ static char ret[31];
struct tm *tm = gmtime(&t);