aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-pinentry.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-07-03 01:46:46 +0000
committerNIIBE Yutaka <[email protected]>2023-07-03 01:46:46 +0000
commitb5efb52d4320ee9e7ea03a6f7e63ff140a1df846 (patch)
treed6572a0deb6ec1ac686c2291ff79b1eeed7772f3 /agent/call-pinentry.c
parenttools:gpg-connect-agent: Fix use of HANDLE on Windows. (diff)
downloadgnupg-b5efb52d4320ee9e7ea03a6f7e63ff140a1df846.tar.gz
gnupg-b5efb52d4320ee9e7ea03a6f7e63ff140a1df846.zip
agent: Fix formatting thread ID of nPth.
* agent/call-pinentry.c (agent_query_dump_state): Use %lx to format thread ID. -- Fixes-commit: ba6f8b3d9ec83b35c4f3839853567491fee2f99c Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/call-pinentry.c')
-rw-r--r--agent/call-pinentry.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index 656d5f623..2369dffc2 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -128,8 +128,9 @@ initialize_module_call_pinentry (void)
void
agent_query_dump_state (void)
{
- log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%p\n",
- entry_ctx, (long)assuan_get_pid (entry_ctx), (void*)popup_tid);
+ log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%lx\n",
+ entry_ctx, (long)assuan_get_pid (entry_ctx),
+ (unsigned long)popup_tid);
}
/* Called to make sure that a popup window owned by the current