aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-06-16 09:47:07 +0000
committerWerner Koch <[email protected]>2015-06-16 16:11:31 +0000
commiteb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e (patch)
tree76e0636bca8aba4fb121fc8c83cedbf7205bc274 /dirmngr
parentdirmngr: Avoid accessing uninitialized memory in log callback. (diff)
downloadgnupg-eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e.tar.gz
gnupg-eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e.zip
dirmngr: Add missing cast for use of pid_t in printf.
--
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/ldap-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c
index 558846830..30bbda3ab 100644
--- a/dirmngr/ldap-wrapper.c
+++ b/dirmngr/ldap-wrapper.c
@@ -234,7 +234,7 @@ read_log_data (struct wrapper_context_s *ctx)
{
if (n < 0)
log_error (_("error reading log from ldap wrapper %d: %s\n"),
- ctx->pid, strerror (errno));
+ (int)ctx->pid, strerror (errno));
print_log_line (ctx, NULL);
SAFE_CLOSE (ctx->log_fd);
return 1;