summaryrefslogtreecommitdiffstats
path: root/tests/tpm-emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tpm-emu.c')
-rw-r--r--tests/tpm-emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tpm-emu.c b/tests/tpm-emu.c
index 125e697181..c43ac4aef8 100644
--- a/tests/tpm-emu.c
+++ b/tests/tpm-emu.c
@@ -76,7 +76,7 @@ void *tpm_emu_ctrl_thread(void *data)
QIOChannelSocket *lioc = qio_channel_socket_new();
QIOChannel *ioc;
- qio_channel_socket_listen_sync(lioc, s->addr, &error_abort);
+ qio_channel_socket_listen_sync(lioc, s->addr, 1, &error_abort);
g_mutex_lock(&s->data_mutex);
s->data_cond_signal = true;