diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 14:14:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 14:14:19 +0000 |
commit | 55829cec8a8bd99c1129e58e18222382a1e96823 (patch) | |
tree | d365560519da18d4938bac6b71b1cdffcb43d747 /libc | |
parent | fec4793c9a9d68f01facf2ea81089022fb5db0c0 (diff) |
Correct use of __*log
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/ssp.c | 6 |
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) |