summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index cd1631261d..0a4208adb8 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1022,7 +1022,7 @@ static void
consume_communication_pipe(void)
{
const size_t buff_size = 1024;
- char buff[buff_size];
+ char buff[1024];
ssize_t result;
retry:
result = read(timer_thread_pipe[0], buff, buff_size);