summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-05-22 13:21:49 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-27 14:44:12 -0400
commit7b368c6322c10b0b650df2bf427aa9a3599ef472 (patch)
tree29d6bd6133f61f503267d2fa5f76e68f8899c44f
parent0507838f0194b37271c52acab1bdfa73af3929da (diff)
downloadsssd-7b368c6322c10b0b650df2bf427aa9a3599ef472.tar.gz
sssd-7b368c6322c10b0b650df2bf427aa9a3599ef472.tar.bz2
sssd-7b368c6322c10b0b650df2bf427aa9a3599ef472.zip
Fix error reporting for be_pam_handler
-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 27a4571a..5664b2c5 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -617,7 +617,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);