From 8161706dd9c6d9a7fb7b0c3997789ec083612a06 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 16 Apr 2002 21:34:41 +0000 Subject: Fix braino in the openpam_log() macro that caused the arguments to be expanded twice (perforce change 9853) --- contrib/openpam/include/security/openpam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/openpam/include/security/openpam.h b/contrib/openpam/include/security/openpam.h index 67cb170..0efa8cb 100644 --- a/contrib/openpam/include/security/openpam.h +++ b/contrib/openpam/include/security/openpam.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam.h#17 $ + * $P4: //depot/projects/openpam/include/security/openpam.h#18 $ */ #ifndef _SECURITY_OPENPAM_H_INCLUDED @@ -142,7 +142,7 @@ _openpam_log(int _level, _openpam_log((lvl), __func__, fmt, __VA_ARGS__) #elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95) #define openpam_log(lvl, fmt...) \ - _openpam_log((lvl), __func__, fmt, ##fmt) + _openpam_log((lvl), __func__, ##fmt) #elif defined(__GNUC__) && defined(__FUNCTION__) #define openpam_log(lvl, fmt...) \ _openpam_log((lvl), __FUNCTION__, ##fmt) -- cgit v1.1