From a9bf2f27c6e68ad44763cc28ce9d4f693b0df26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 1 May 2017 15:02:58 +0000 Subject: Vendor import of OpenPAM Resedacea. --- lib/libpam/openpam_set_feature.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libpam/openpam_set_feature.c') 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 */ /** -- cgit v1.2.3