diff options
author | des <des@FreeBSD.org> | 2002-04-16 21:34:41 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-16 21:34:41 +0000 |
commit | 8161706dd9c6d9a7fb7b0c3997789ec083612a06 (patch) | |
tree | 08ee2320abc09562d8b9b45a93aebc93ee1c2bcb | |
parent | bd0bbd9f7beb24d5eefac58e66363eab80b2938c (diff) | |
download | FreeBSD-src-8161706dd9c6d9a7fb7b0c3997789ec083612a06.zip FreeBSD-src-8161706dd9c6d9a7fb7b0c3997789ec083612a06.tar.gz |
Fix braino in the openpam_log() macro that caused the arguments to be
expanded twice (perforce change 9853)
-rw-r--r-- | contrib/openpam/include/security/openpam.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |