diff options
Diffstat (limited to '')
-rw-r--r-- | agent/call-pinentry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index c5a6f7814..46293d96e 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -304,8 +304,8 @@ start_pinentry (ctrl_t ctrl) if (!opt.running_detached) { if (log_get_fd () != -1) - no_close_list[i++] = log_get_fd (); - no_close_list[i++] = fileno (stderr); + no_close_list[i++] = assuan_fd_from_posix_fd (log_get_fd ()); + no_close_list[i++] = assuan_fd_from_posix_fd (fileno (stderr)); } no_close_list[i] = -1; |