13 lines
263 B
C
13 lines
263 B
C
|
#include <stdarg.h>
|
||
|
#include <syslog.h>
|
||
|
#include "fortify.h"
|
||
|
|
||
|
void __vsyslog(int, const char *, va_list);
|
||
|
|
||
|
void __syslog_chk(int priority, int flag, const char *message, ...)
|
||
|
{
|
||
|
va_list ap;
|
||
|
va_start(ap, message);
|
||
|
__vsyslog(priority, message, ap);
|
||
|
va_end(ap);
|
||
|
}
|