aboutsummaryrefslogtreecommitdiffstats
path: root/tpm2d/tpm2daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tpm2d/tpm2daemon.c')
-rw-r--r--tpm2d/tpm2daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c
index 445e9dbbd..2fff54337 100644
--- a/tpm2d/tpm2daemon.c
+++ b/tpm2d/tpm2daemon.c
@@ -1029,7 +1029,7 @@ start_connection_thread (void *arg)
handler asked for it. With the next ticker event and given that
no other connections are running the shutdown will then
happen. */
- if (tpm2d_command_handler (ctrl, FD2INT (ctrl->thread_startup.fd))
+ if (tpm2d_command_handler (ctrl, ctrl->thread_startup.fd)
&& pipe_server)
shutdown_pending = 1;