summaryrefslogtreecommitdiff
path: root/tools/virtual.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtual.c')
-rw-r--r--tools/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 8e241e53..41bc36e5 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -2041,7 +2041,7 @@ static int first_display_wait_for_ack(struct context *ctx, int timeout, int id)
{
struct display *display = ctx->display;
struct pollfd pfd;
- char expect[5];
+ char expect[6]; /* "1234R\0" */
sprintf(expect, "%04xR", id);
DBG(("%s: wait for act '%c%c%c%c%c'\n",