From 55829cec8a8bd99c1129e58e18222382a1e96823 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 14:14:19 +0000 Subject: Correct use of __*log --- libc/sysdeps/linux/common/ssp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/ssp.c') diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index 7a977f56a..49d2cbf65 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -63,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) -- cgit v1.2.3