summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-04-20 07:50:50 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-04-20 07:50:50 +0000
commit12be371956b337b9eff50c96956ca063bf8f9240 (patch)
treef3090ac13d661c2817f52c94d81102a92f5cae37 /usr.bin
parent3656a3abc63dd1e54dc4a8c65ca8be81dddcd837 (diff)
Use a more sensible buffer size for flags string.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 0d7832d676c..64ad833348f 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.118 2015/04/19 21:34:21 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.119 2015/04/20 07:50:49 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -650,7 +650,7 @@ window_destroy_panes(struct window *w)
char *
window_printable_flags(struct session *s, struct winlink *wl)
{
- char flags[BUFSIZ];
+ char flags[32];
int pos;
pos = 0;