summaryrefslogtreecommitdiff
path: root/contrib/openpam/lib/pam_strerror.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-02-23 01:24:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-02-23 01:24:02 +0000
commit46acc3702698ba19936598ab0b2bcb79d0541e14 (patch)
treeae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/lib/pam_strerror.c
parentac676a111684706b7e97927f12d29b25c5205078 (diff)
Diffstat (limited to 'contrib/openpam/lib/pam_strerror.c')
-rw-r--r--contrib/openpam/lib/pam_strerror.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/openpam/lib/pam_strerror.c b/contrib/openpam/lib/pam_strerror.c
index 516374c7346b..2503e4f9814a 100644
--- a/contrib/openpam/lib/pam_strerror.c
+++ b/contrib/openpam/lib/pam_strerror.c
@@ -61,7 +61,7 @@ pam_strerror(pam_handle_t *pamh,
case PAM_OPEN_ERR:
return ("failed to load module");
case PAM_SYMBOL_ERR:
- return ("symbol not found in module");
+ return ("invalid symbol");
case PAM_SERVICE_ERR:
return ("error in service module");
case PAM_SYSTEM_ERR:
@@ -103,7 +103,7 @@ pam_strerror(pam_handle_t *pamh,
case PAM_AUTHTOK_LOCK_BUSY:
return ("authentication token lock busy");
case PAM_AUTHTOK_DISABLE_AGING:
- return ("authentication token ageing disabled");
+ return ("authentication token aging disabled");
case PAM_NO_MODULE_DATA:
return ("module data not found");
case PAM_IGNORE:
@@ -121,3 +121,10 @@ pam_strerror(pam_handle_t *pamh,
return (unknown);
}
}
+
+/**
+ * The =pam_strerror function returns a pointer to a string containing a
+ * textual description of the error indicated by the =error_number
+ * argument, in the context of the PAM transaction described by the =pamh
+ * argument.
+ */