mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* 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 <jakub@redhat.com> * misc/bits/syslog.h (syslog): Remove extraneous argument from the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to __syslog_chk.
This commit is contained in:
@ -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, ...) \
|
||||
|
Reference in New Issue
Block a user