summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ssp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:14:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:14:19 +0000
commit55829cec8a8bd99c1129e58e18222382a1e96823 (patch)
treed365560519da18d4938bac6b71b1cdffcb43d747 /libc/sysdeps/linux/common/ssp.c
parentfec4793c9a9d68f01facf2ea81089022fb5db0c0 (diff)
Correct use of __*log
Diffstat (limited to 'libc/sysdeps/linux/common/ssp.c')
-rw-r--r--libc/sysdeps/linux/common/ssp.c6
1 files changed, 3 insertions, 3 deletions
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)