diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-19 14:16:10 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-24 10:09:16 -0500 |
commit | 4b0309363dbfb9a1409e082b3a84f17b53a751c1 (patch) | |
tree | 5eaa9c86090f9edcece17c836d65789baef0cb91 /src/resolv | |
parent | fa6c70fabb8dc2fab580a014cdcf1b0dd3e99554 (diff) | |
download | sssd-4b0309363dbfb9a1409e082b3a84f17b53a751c1.tar.gz sssd-4b0309363dbfb9a1409e082b3a84f17b53a751c1.tar.bz2 sssd-4b0309363dbfb9a1409e082b3a84f17b53a751c1.zip |
Print correct error messages for dp_err_to_string()
All errnum values passed into this function throughout the code
are PAM error codes, but we were passing them through strerror()
to print them, which is only meaningful for ERRNO error codes.
This patch changes dp_err_to_string() to use pam_strerror() and
renames it to dp_pam_err_to_string() for clarity.
https://fedorahosted.org/sssd/ticket/636
Diffstat (limited to 'src/resolv')
0 files changed, 0 insertions, 0 deletions