Module Name: src Committed By: joerg Date: Fri Mar 19 18:26:14 UTC 2010
Modified Files: src/dist/openpam/doc/man: pam_strerror.3 Log Message: Apply the equivalent of r426 and r427 from openpam repository: Fix doc: pam_strerror() ignores pamh. Portability tip. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/dist/openpam/doc/man/pam_strerror.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/openpam/doc/man/pam_strerror.3 diff -u src/dist/openpam/doc/man/pam_strerror.3:1.5 src/dist/openpam/doc/man/pam_strerror.3:1.6 --- src/dist/openpam/doc/man/pam_strerror.3:1.5 Sun Jan 27 01:22:58 2008 +++ src/dist/openpam/doc/man/pam_strerror.3 Fri Mar 19 18:26:14 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: pam_strerror.3,v 1.5 2008/01/27 01:22:58 christos Exp $ +.\" $NetBSD: pam_strerror.3,v 1.6 2010/03/19 18:26:14 joerg Exp $ .\" .\"- .\" Copyright (c) 2001-2003 Networks Associates Technology, Inc. @@ -55,9 +55,15 @@ function returns a pointer to a string containing a textual description of the error indicated by the .Fa error_number -argument, in the context of the PAM transaction described by the -.Fa pamh argument. +The +.Fa pamh +argument is ignored. +For compatibility with other implementations, it should be either a +valid PAM handle returned by a previous call to +.Fn pam_start , +or +.Dv NULL . .Sh RETURN VALUES The .Nm