diff options
author | des <des@FreeBSD.org> | 2002-04-15 01:26:36 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-15 01:26:36 +0000 |
commit | c9b90a6e8f5e826f77a92b42506fd554ca3254d2 (patch) | |
tree | 129623e06a01ab1fb5297b090f04072f90784aad /contrib | |
parent | 3928c97d18145ce51c22cd530ae9f353b88f85eb (diff) | |
download | FreeBSD-src-c9b90a6e8f5e826f77a92b42506fd554ca3254d2.zip FreeBSD-src-c9b90a6e8f5e826f77a92b42506fd554ca3254d2.tar.gz |
Fix typo in pam_get_authtok(3) (perforce change 9746)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/openpam/lib/pam_get_authtok.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/openpam/lib/pam_get_authtok.c b/contrib/openpam/lib/pam_get_authtok.c index 8dd8238..5719d69 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 <sys/param.h> @@ -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)); } /* |