diff options
author | Werner Koch <[email protected]> | 2015-06-16 09:47:07 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-16 16:11:31 +0000 |
commit | eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e (patch) | |
tree | 76e0636bca8aba4fb121fc8c83cedbf7205bc274 /dirmngr/ldap-wrapper.c | |
parent | dirmngr: Avoid accessing uninitialized memory in log callback. (diff) | |
download | gnupg-eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e.tar.gz gnupg-eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e.zip |
dirmngr: Add missing cast for use of pid_t in printf.
--
Diffstat (limited to 'dirmngr/ldap-wrapper.c')
-rw-r--r-- | dirmngr/ldap-wrapper.c | 2 |
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; |