From f116fd5df6e4a5787ddce2c310a10a530c04f755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 15 Apr 2002 01:26:36 +0000 Subject: [PATCH] Fix typo in pam_get_authtok(3) (perforce change 9746) --- contrib/openpam/lib/pam_get_authtok.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/openpam/lib/pam_get_authtok.c b/contrib/openpam/lib/pam_get_authtok.c index 8dd82389aa33..5719d697f50e 100644 --- a/contrib/openpam/lib/pam_get_authtok.c +++ b/contrib/openpam/lib/pam_get_authtok.c @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#15 $ + * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#16 $ */ #include @@ -120,11 +120,11 @@ pam_get_authtok(pam_handle_t *pamh, } if (resp == NULL) return (PAM_TRY_AGAIN); - r = pam_set_item(pamh, pitem, resp); + r = pam_set_item(pamh, item, resp); free(resp); if (r != PAM_SUCCESS) return (r); - return (pam_get_item(pamh, pitem, (const void **)authtok)); + return (pam_get_item(pamh, item, (const void **)authtok)); } /*