1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-30 22:08:02 +02:00

agent: Fix formatting thread ID of nPth.

* agent/call-pinentry.c (agent_query_dump_state): Use %lx to
format thread ID.

--

Fixes-commit: ba6f8b3d9e
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-07-03 10:46:46 +09:00
parent a0ff2919f7
commit b5efb52d43
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -128,8 +128,9 @@ initialize_module_call_pinentry (void)
void void
agent_query_dump_state (void) agent_query_dump_state (void)
{ {
log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%p\n", log_info ("agent_query_dump_state: entry_ctx=%p pid=%ld popup_tid=%lx\n",
entry_ctx, (long)assuan_get_pid (entry_ctx), (void*)popup_tid); entry_ctx, (long)assuan_get_pid (entry_ctx),
(unsigned long)popup_tid);
} }
/* Called to make sure that a popup window owned by the current /* Called to make sure that a popup window owned by the current