Avoid the " map_to_assuan_status called with no error source" diagnostic.
[gnupg.git] / sm / call-agent.c
index 3ea1c45..0d15a55 100644 (file)
@@ -168,7 +168,7 @@ start_agent (ctrl_t ctrl)
   if (rc)
     return map_assuan_err (rc);
 
-  return send_pinentry_environment (agent_ctx,
+  return send_pinentry_environment (agent_ctx, GPG_ERR_SOURCE_DEFAULT,
                                     opt.display, opt.ttyname, opt.ttytype,
                                     opt.lc_ctype, opt.lc_messages);
 }