From ddf51ecb5f6ca05cc62b6ed8956d6a20cc74dbdb Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 18 Sep 2007 23:38:23 +0000 Subject: * misc/bits/syslog.h (syslog): Remove extraneous argument from the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to __syslog_chk. 2007-09-19 Jakub Jelinek * misc/bits/syslog.h (syslog): Remove extraneous argument from the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to __syslog_chk. --- misc/bits/syslog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/bits') diff --git a/misc/bits/syslog.h b/misc/bits/syslog.h index f8c81dd..853b30c 100644 --- a/misc/bits/syslog.h +++ b/misc/bits/syslog.h @@ -27,9 +27,9 @@ extern void __syslog_chk (int __pri, int __flag, __const char *__fmt, ...) #ifdef __va_arg_pack __extern_always_inline void -syslog (int __pri, int __flag, __const char *__fmt, ...) +syslog (int __pri, __const char *__fmt, ...) { - return __syslog_chk (__pri, __flag, __fmt, __va_arg_pack ()); + return __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); } #elif !defined __cplusplus # define syslog(pri, ...) \ -- cgit v1.1