From eabc266fb354a71eb7debb024f1f90166ed23cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 16 Apr 2002 23:29:40 +0000 Subject: [PATCH] Fix braino in the gcc version of the openpam_log() macro. Sponsored by: DARPA, NAI Labs git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@128 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- include/security/openpam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/security/openpam.h b/include/security/openpam.h index 67cb170..0efa8cb 100644 --- a/include/security/openpam.h +++ b/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)