summaryrefslogtreecommitdiff
path: root/cgitcgi/repolist.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgitcgi/repolist.c')
-rw-r--r--cgitcgi/repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitcgi/repolist.c b/cgitcgi/repolist.c
index c0208a0..2a37db3 100644
--- a/cgitcgi/repolist.c
+++ b/cgitcgi/repolist.c
@@ -40,7 +40,7 @@ void rlist_error( const char *fmt, ... )
{
va_list arg_ptr;
char buf[RLIST_ERRMSG_SIZE];
- char msg[RLIST_ERRMSG_SIZE];
+ char msg[RLIST_ERRMSG_SIZE-16];
char *format = "%s: %s\n";
va_start( arg_ptr, fmt );