diff options
Diffstat (limited to 'libc/sysdeps/linux/common/ssp.c')
| -rw-r--r-- | libc/sysdeps/linux/common/ssp.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index fe7a56f71..05e53c29d 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -31,6 +31,7 @@  #define closelog __closelog  #define sigfillset __sigfillset_internal  #define sigdelset __sigdelset_internal +#define sigaction __sigaction  #define kill __kill  #include <string.h> @@ -62,9 +63,9 @@ static __always_inline void ssp_write(int fd, const char *msg1, const char *msg2  	__write(fd, msg2, __strlen(msg2));  	__write(fd, msg3, __strlen(msg3));  	__write(fd, "()\n", 3); -	__openlog("ssp", LOG_CONS | LOG_PID, LOG_USER); -	__syslog(LOG_INFO, "%s%s%s()", msg1, msg2, msg3); -	__closelog(); +	openlog("ssp", LOG_CONS | LOG_PID, LOG_USER); +	syslog(LOG_INFO, "%s%s%s()", msg1, msg2, msg3); +	closelog();  }  static __always_inline attribute_noreturn void terminate(void)  | 
