summaryrefslogtreecommitdiff
path: root/lib/libpam/openpam_set_feature.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpam/openpam_set_feature.c')
-rw-r--r--lib/libpam/openpam_set_feature.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpam/openpam_set_feature.c b/lib/libpam/openpam_set_feature.c
index 8e95f3eb057d4..f588b179ff27f 100644
--- a/lib/libpam/openpam_set_feature.c
+++ b/lib/libpam/openpam_set_feature.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2012 Dag-Erling Smørgrav
+ * Copyright (c) 2012-2017 Dag-Erling Smørgrav
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: openpam_set_feature.c 648 2013-03-05 17:54:27Z des $
+ * $OpenPAM: openpam_set_feature.c 938 2017-04-30 21:34:42Z des $
*/
#ifdef HAVE_CONFIG_H
@@ -50,7 +50,7 @@ openpam_set_feature(int feature, int onoff)
ENTERF(feature);
if (feature < 0 || feature >= OPENPAM_NUM_FEATURES)
- RETURNC(PAM_SYMBOL_ERR);
+ RETURNC(PAM_BAD_FEATURE);
openpam_features[feature].onoff = onoff;
RETURNC(PAM_SUCCESS);
}
@@ -58,7 +58,7 @@ openpam_set_feature(int feature, int onoff)
/*
* Error codes:
*
- * PAM_SYMBOL_ERR
+ * PAM_BAD_FEATURE
*/
/**