summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-08-05 16:21:42 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-08-05 16:21:42 +0000
commit9671db0bea768406a1f8c613a1dbe34f677dc972 (patch)
tree80a1f998fd7842149fafef4becda6f1f794ebfd9 /usr.bin
parent166bbaf5db9e764332299cad6857cbb17a18eb07 (diff)
increase ebuf[] size in cvs_vlog() wrt strerror(3) return value;
ok jfb@.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/log.c b/usr.bin/cvs/log.c
index 194eb64ff63..5aa35395f7b 100644
--- a/usr.bin/cvs/log.c
+++ b/usr.bin/cvs/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.24 2005/07/27 15:45:44 xsa Exp $ */
+/* $OpenBSD: log.c,v 1.25 2005/08/05 16:21:41 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -203,7 +203,7 @@ int
cvs_vlog(u_int level, const char *fmt, va_list vap)
{
int ecp;
- char prefix[64], buf[1024], ebuf[32];
+ char prefix[64], buf[1024], ebuf[255];
FILE *out;
struct cvs_cmd *cmdp;