summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider_be.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-05-22 13:21:49 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-23 12:15:59 -0400
commite50a12867489c0889a4f17654e401ddddbc283bb (patch)
tree4e4df9bd3925506c4dfff243d1b0499cd767fbb6 /src/providers/data_provider_be.c
parentc15b32e2acc8e43063b8d84029c576914c3eed76 (diff)
downloadsssd-e50a12867489c0889a4f17654e401ddddbc283bb.tar.gz
sssd-e50a12867489c0889a4f17654e401ddddbc283bb.tar.xz
sssd-e50a12867489c0889a4f17654e401ddddbc283bb.zip
Fix error reporting for be_pam_handler
Diffstat (limited to 'src/providers/data_provider_be.c')
-rw-r--r--src/providers/data_provider_be.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index 10328a05c..cb796bf87 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -481,7 +481,7 @@ static void be_pam_handler_callback(struct be_req *req,
DEBUG(4, ("Backend returned: (%d, %d, %s) [%s]\n",
dp_err_type, errnum, errstr?errstr:"<NULL>",
- dp_err_to_string(req, dp_err_type, 0)));
+ dp_err_to_string(req, dp_err_type, errnum)));
pd = talloc_get_type(req->req_data, struct pam_data);