summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-12 22:22:27 +0000
committerdes <des@FreeBSD.org>2002-04-12 22:22:27 +0000
commit38971df82a9b331625c18dbb591759be82a43bcf (patch)
treeafaaf4b47fd4ffe3acae074cd9835ce640d905eb /contrib
parent5b1e560369f4afd65eb9fc3ffbccc9d3e688dc7e (diff)
downloadFreeBSD-src-38971df82a9b331625c18dbb591759be82a43bcf.zip
FreeBSD-src-38971df82a9b331625c18dbb591759be82a43bcf.tar.gz
Fix typo in openpam_log macro (perforce change 9634)
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'contrib')
-rw-r--r--contrib/openpam/include/security/openpam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/openpam/include/security/openpam.h b/contrib/openpam/include/security/openpam.h
index e2fdf0a..67cb170 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#16 $
+ * $P4: //depot/projects/openpam/include/security/openpam.h#17 $
*/
#ifndef _SECURITY_OPENPAM_H_INCLUDED
@@ -141,7 +141,7 @@ _openpam_log(int _level,
#define openpam_log(lvl, fmt, ...) \
_openpam_log((lvl), __func__, fmt, __VA_ARGS__)
#elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95)
-#define openpam_log(lvl, fmt, ...) \
+#define openpam_log(lvl, fmt...) \
_openpam_log((lvl), __func__, fmt, ##fmt)
#elif defined(__GNUC__) && defined(__FUNCTION__)
#define openpam_log(lvl, fmt...) \
OpenPOWER on IntegriCloud